NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change steptype of tests in testplan

Hello,

i have a working testplan in Teststand 3.5.

Here i use a lot of the steptypes "Pass/Fail Test" and "Numeric Limit Test".

 

Now i created a copy the two types which have additional properties in the definition.

 

The question is: How can i change the already used steps from the type "Pass/Fail Test" to "My Pass/Fail Test"?

Is there a fast way to do this or do i have to do it manually for each test?

 

Thanks the help.

0 Kudos
Message 1 of 4
(3,163 Views)

Hi,

 

I can think of two ways of doing this; but both will take some time and some wit:

1.) Save the sequence in a "readable format" like ATML and then replace the step types with a text editor or a script. Mind the the correct format within the file! Otherwise the sequence won't be readable by TestStand anymore. Might take some effort to tweak that.

2.) Program a sequence that opens the sequence to be changed via API and programatically replace all the test steps needed. A bit of advanced

programming....

 

To be honest: depending on the size of the existing test plan and level of available programming konwledge, it might be a good idea to make these changes manually. If you see the necessity to perform such a conversion more often, spend the effort for a proper automatic solution.

 

Hope this helps

 

Oli

0 Kudos
Message 2 of 4
(3,130 Views)

It's me again,

 

with TestStand 2010 it is possible to select multiple steps and change the step type for all of them at once. I'm not sure about 3.5. Might be worth a try if you haven't already done so.

 

Enjoy the weekend!

Oli

0 Kudos
Message 3 of 4
(3,121 Views)

I saw it in 2010 - but not available in 3.5.

Good idea to do this with text-editor.

0 Kudos
Message 4 of 4
(3,119 Views)