When you run steps in interactive mode, you can execute specific steps in a sequence. Use the Interactive Executions section on the Execution tab of the Station Options dialog box to control if an interactive execution records results, runs steps in the Setup and Cleanup step groups, and evaluates preconditions. The options in the Interactive Executions section also determine how TestStand handles step failures, errors, and branching during interactive executions.

Note Completed solution files are located in the <TestStand Public>\Tutorial\Solution directory.

Running Selected Steps as a Separate Execution

Complete the following steps to run selected steps from a Sequence File window as a separate execution.

  1. Open <TestStand Public>\Tutorial\Computer.seq.
  2. Insert a breakpoint at the Power On step.
  3. Press <Ctrl> and select the Power On,ROM, and ROM Diagnostics steps.
  4. Select Execute»Run Selected Steps to start a root interactive execution. By default, when you run selected steps from a Sequence File window, TestStand also executes the Setup and Cleanup step groups. You enable or disable the Run Setup and Cleanup option on the Execution tab of the Station Options dialog box to control whether TestStand runs the Setup and Cleanup step groups as part of the root interactive execution.
  5. Click Done in the Test Simulator dialog box. The execution stops at the Power On step breakpoint. The execution pointer for the interactive execution is a narrow yellow arrow.
  6. Step over twice to step through the execution until you reach the ROM Diagnostics step. Only the steps you selected execute. TestStand dims the other steps.
  7. Resume and complete the execution.
  8. Close the Execution window.
  9. Ensure that the Power On, ROM, and ROM Diagnostics steps are selected. Repeat steps 4 through 8, but select Execute»Run Selected Steps Using»Single Pass in step 4. TestStand executes the steps you selected using the Single Pass Execution entry point, which generates a UUT report.
  10. Close the Execution window.

Running Selected Steps During an Execution

Complete the following steps to interactively execute selected steps in a sequence while suspended at a breakpoint during an execution.

  1. Ensure that the Power On, ROM, and ROM Diagnostics steps are selected and select Execute»Single Pass.
  2. Select the ROM test to fail and click Done. The execution stops at the breakpoint on the Power On step.
  3. Step through the execution until you reach the RAM Diagnostics step. Notice that the ROM step failed.
  4. Place a breakpoint at the ROM step in the Execution window and select the ROM and ROM Diagnostics steps.
  5. Right-click the ROM Diagnostics step and select Loop on Selected Steps from the context menu to launch the Loop on Selected Steps dialog box. Enter 100 in the Loop Count control and click OK. TestStand starts an interactive execution of 100 loops for the steps you selected and enters a suspended state at the breakpoint for the ROM step. The execution pointer for the normal execution remains on the RAM Diagnostics step, and an execution pointer for the new interactive execution points to the ROM step.
  6. Step through the interactive execution. The interactive execution toggles only between the ROM step and the ROM Diagnostics step. The ROM step continues to fail.
  7. Click the Terminate Interactive Execution button on the Execution pane toolbar. TestStand returns the execution to a suspended state on the RAM Diagnostics step.
  8. Complete the following steps to force the execution to continue from a step other than the currently suspended step.
    1. Select the ROM step so it is the only highlighted step.
    2. Right-click the ROM step and select Set Next Step to Cursor from the context menu. The execution pointer moves from the RAM Diagnostics step to the ROM step. The execution continues from the ROM step when you resume or step through the sequence.
    3. Step over once. The ROM step executes instead of the RAM Diagnostics step.
  9. Resume and complete the execution. The report contains entries for each step you executed interactively.
  10. Remove the breakpoint from the Power On step in the Sequence File window.
  11. Close all the windows in the sequence editor and do not save any changes.