06-21-2023 12:49 PM
Hello,
I would like to access a Sequence Run Mode programmatically during my test. I would like to check if the test is selected to be skipped in the pre-expression and set a local flag based the result.
I will use this flag to run a later step or a sub sequence.
Is there a way of doing that?
Thanks,
06-28-2023 05:57 PM - edited 06-28-2023 05:58 PM
Run Mode is at the step level:
Locals.MyFlag = Step.GetRunModeEx() == "Skip"
https://www.ni.com/docs/en-US/bundle/teststand/page/tsapiref/reftopics/step_getrunmodeex_m.htm