09-17-2013 05:18 PM
Greetings Everyone,
I'm curious, whether or not it's possible to insert a FileGlobals variable into a Step Name, whether it be an Action, Pass/Fail, Numeric Limit Test, or what have you. An example would be "Paragraph 1.0 execution # {variable} running" were variable would be an incremental count, whether it be a for loop or any other type of senario. Thank you in advance for any information that you may offer.
Regards,
Scott
Solved! Go to Solution.
09-17-2013 06:52 PM
You can do this dynamically in the Pre-Expression of the Step by using the TestStand API.
Step.Name = "Paragraph 1.0 Execution #" + FileGlobals.VariableName + " Running"
Something like that. During run time your step name will change to that.
Hope this helps,
09-18-2013 12:13 PM
Hi jigg,
Thank for the reply.
I tried it and Thank you. It does exactly what I was hoping to do. Many thanks.
Regards,
Scott