We don't have a way to export this macro.
Retrieve OTP Code and make it available for your GDSL test manually. When you launch a measurement on a Test Bench device with the Greenspector CLI, you can receive the OTP via an email or a SMS on your own device linked to your account. May be you have to use an authenticator to retrieve the OTP manually.
...