10-27-2010 02:32 PM
Hi,
Can anyone tell me if TestStand stores the step that caused the UUT to fail anywhere that is easy accessibly in the PostUUT loop?
Thanks & Regards,
Shane.
Solved! Go to Solution.
10-28-2010 10:44 AM
Hi Don1,
You can't directly access the failed step in the PostUUT loop but what you can do is use the "SequenceFilePostStepFailure" callback, which gets called on every step failure. You can then save the Step in a fileglobal variable at that point and then subsequently access the variable from the PostUUTLoop callback.
10-28-2010 02:12 PM
Hi,
Thanks for the fast reply.
I have added "SequenceFilePostStepFailure" but I am not exactly sure where to grab the name of the failing step from once inside this sequence.
Is it somewhere in RunState?
Thanks,
Shane.
10-28-2010 02:25 PM
Hi Shane,
It's under Parameters.Step.Name inside the SequenceFailPostStepFailure callback.