Executing Sequences in Parallel
- Updated2025-03-28
- 2 minute(s) read
Purpose
This example demonstrates how to launch a parallel, independent sequence execution with a Sequence Call step in conjunction with a Wait step so that the execution results of the primary sequence are combined with the execution results of the subsequence.
Alternatively, you can run the subsequence in the same execution as the primary sequence. Review the report TestStand generates after either scenario to see the difference in where the results are collected for the Sequence Call steps.
Example File
Location
<TestStand Public>\Examples\Parallel Testing\Executing Sequences In Parallel\Executing Sequences In Parallel.seq
Highlighted Features
- Sequence Call steps
- Wait steps
Major API
None
Prerequisites
None
How to Use This Example
Complete the following steps to use this example.
- On the Steps pane, select the Parallel Call step, which is a Sequence Call step.
- On the Step Settings pane, click the Sequence Call Module tab. The Execution Options ring control specifies the Use New Execution option.
- On the Steps pane, select the Sequential Call step, which is a Sequence Call step.
- On the Step Settings pane, click the Sequence Call Module tab. The Execution Options ring control specifies the None option.
- On the Steps pane, select the Wait step.
- On the Step Settings pane, click the Wait Settings edit tab. The Specify by Sequence Call option specifies that the step waits for the Parallel Call sequence call to finish executing.
- Select Execute»Single Pass to run the sequence.
- Review the information in the dialog box that launches, and click the Run DemoSequence in New Execution button. A dialog box launches for each execution simultaneously. You may have to move or click OK in each dialog box to see the others.
- Click OK in each dialog box.
- Review the report. The results for the Message Popup step from the DemoSequence appears after the Wait step.
- Select Execute»Restart to restart the MainSequence execution.
- Review the information in the dialog box that launches, and click the Run DemoSequence Sequentially button. Now, only one dialog box launches at a time.
- Click OK in each dialog box, and review the report. The Message Popup step from the DemoSequence now appears after the Message Popup 2 step.