NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

list of test step names

I need to be able to automate generating a list of test step names in a sequences including subseqeunce step names as well.

 

Is there a way doing this?

0 Kudos
Message 1 of 7
(4,185 Views)
You can easily do that by using TestStand API. See example attached (TS 4.2)
Message 2 of 7
(4,165 Views)

Hi Skof,

 

Thanks for posting your code!  I encourage you to post it as an example on the NI community; its a great way to share your code with other developers!

 

 

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 3 of 7
(4,138 Views)
thanks for the reply. Do you have an older version? I have NI teststand 4.0
0 Kudos
Message 4 of 7
(4,136 Views)

Hi Joy,

 

I saved the sequence down for you.  Let me know if it still isn't working!

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 5 of 7
(4,113 Views)

thanks a lot. Now I just need to add the steps to log the test names in sequence layers than just flat list.

 

 

0 Kudos
Message 6 of 7
(4,096 Views)

You may find the Sequence File Documentation tool helpful in this case (Tools»Sequence File Documentation...) or the Sequence File Hierarchy feature (View»Sequence File»Display File Hierarchy).

 

Hope this helps.

Manooch H.
National Instruments
0 Kudos
Message 7 of 7
(4,089 Views)