Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

Executeing a TestStand Sequence in a Random Order

by Example Gatekeeper on ‎06-25-2010 04:46 PM


It is sometimes necessary to execute tests in no particular order to simulate real use, where tasks are not always run in the same order.  The example uses an array to determine the order of the execution, which can be easilty generated in a code module. Each step's post expression uses this array to determine the next step.  The post expression used is:


where stepsExecuted is used to track how many steps have been run, and stepOrder contains an array of the step indices in the desired order. 

Note: the "end" step should be the last array index to make sure the sequence finishes properly.


Member Cluo


Member ccardona

Hi, How can I run it instead ramdon in paralel, Thanks