Post Actions Tab - Step Properties Dialog Box

Post Actions Tab

The Post Actions tab of the Step Properties dialog box specifies an action that occurs after a step executes. You can make the action conditional on the Pass/Fail status of the step or on any custom condition.

The Post Actions tab contains the following options:

  • On Pass —An action that occurs when the step completes with a status of Passed .

    The following post actions appear in the ring controls for the On Pass, On Fail, On Condition True, and On Condition False controls:

    • Goto next step —Execution continues normally with the next step. This is the default value.
    • Goto destination —Execution branches to the destination you select. You can branch to any step in any step group, to the end of the current step group, or to the Cleanup step group. If the post action for a step specifies that execution branches to the Cleanup step group and the current step is in the Cleanup step group, execution proceeds normally with the next step in the Cleanup step group. You cannot select an Else or Else If step as the target of a post action.
    • Terminate execution —Execution terminates .
    • Call sequence —TestStand calls a sequence before continuing to the next step. You can select any sequence in the sequence file. TestStand does not pass any arguments to the sequence. If the sequence has parameters, TestStand uses their default values.
    • Break —TestStand suspends before continuing to the next step.
  • Destination Step (ID or Name) —The destination step for the On Pass, On Fail, On Condition True, and On Condition False controls.
    Note For steps that do not have a Passed or Failed status, you can use a custom condition. For example, the TestStand Engine sets the status of an Action step type to Done , rather than Passed or Failed . You can select the Specify Custom Condition option and enter a custom condition expression that evaluates to True or False . Then, select the appropriate post actions in the On Condition True and On Condition False ring controls. When you want to unconditionally perform a post action, enter True in the Custom Condition Expression control.
  • On Fail —An action that occurs when the step completes with a status of Failed .
  • Specify Custom Condition —A custom condition controls the post action for the step.
  • Custom Condition Expression —The Boolean expression that controls the post action for the step.
  • On Condition True —The action that occurs when the step completes and the custom condition expression evaluates to True . You cannot select an Else or Else If step as the target of a post action.
  • On Condition False —The action that occurs when the step completes and the custom condition expression evaluates to False . You cannot select an Else or Else If step as the target of a post action.