NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I change the name of the step name on the fly w/o using activeX API

I would like to change the name of a step just for the report generation. The sequence file should not be changed. I was able to change the step name with the activeX API, just looking for any other solutions that wouldn't involve adding another step.
0 Kudos
Message 1 of 2
(3,005 Views)
Hi,
since the report generation is done from the ResultList, you coudl simply alter the data stored in the Locals.ResultList (which ever is the appropriate result element in here) to reflect what you want the step name to appear as.
This could be done through an expression, or a statement step.
e.g. Locals.ResultList[0].TS.StepName = "New name"

Just an alternative.

S.
// it takes almost no time to rate an answer Smiley Wink
0 Kudos
Message 2 of 2
(3,005 Views)