NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the list of step name of the TestStand Sequence ?

Solved!
Go to solution

I have a sequence file of subsequence and steps. How can I get a list of the name of the sub-sequence(and steps in it) and other steps in text or word format without running the sequence?  

 

I tried "save as" save the sequence file in to a xml file and parse it but no luck.

 

Thank you so much! 

0 Kudos
Message 1 of 10
(124 Views)

Oli_Wachno_0-1738821844797.png

 

might help a bit

0 Kudos
Message 2 of 10
(111 Views)

Even I uncheck all of the options, it still has a lot more than just the step names. Thank you for your help!

0 Kudos
Message 3 of 10
(83 Views)

If you are willing to step into the API, this would be quite easy

0 Kudos
Message 4 of 10
(71 Views)

Do you mean step in the sequence?  Please give a little bit more detail or screen shot. Thank you so much!

0 Kudos
Message 5 of 10
(55 Views)
Solution
Accepted by BigDrum

Not sure if all you want is the list of step names as text, but you can just select steps in the sequence editor, hit <Ctrl-C> and then paste in a text editor.

Scott Richardson
https://testeract.com
Message 6 of 10
(51 Views)

Yes, that is kind of what I need. After paste to word, I have to adjust the indentation manually though. That is a small task not worth time to write a script.

 

Thank you!

0 Kudos
Message 7 of 10
(44 Views)

@BigDrum wrote:

Do you mean step in the sequence?  Please give a little bit more detail or screen shot. Thank you so much!


I meant If you wann use the API....

 

Yet seems you got a solution

0 Kudos
Message 8 of 10
(33 Views)

Yes, step in the sequence.

 

From this seq

BigDrum_0-1738907584322.png  

I want

BigDrum_2-1738907731208.png

 

but after copy paste, I got this which need to manually fix the indentation. It is ok if the sequence is not long and not many layers of indentation, but it is a pain if the sequence is complex.

BigDrum_1-1738907675420.png

 

 

0 Kudos
Message 9 of 10
(29 Views)

If the build in possiblities are not sufficient for you, you have to implement your own taylored solution using the TestStand API

 

 

 

 

0 Kudos
Message 10 of 10
(15 Views)