Retrieve Result from TestStand Step by Step Name

Updated Jan 28, 2019

Reported In

Software

  • TestStand

Issue Details

I want to retrieve the result of a TestStand step by using its step name as opposed to its step ID or step index. How can I access this property in TestStand?

Solution

This result will be located in RunState.Sequence.Main["Your Step Name"].Result. This property can be used in any expression in which you need the result.

Additional Information

If you just need to retrieve the current step's name, you can just use the property Step.Name or the function NameOf(RunState.Step).

WAS THIS ARTICLE HELPFUL?

Not Helpful