For Step

Use a For step to define a block of steps that execute repeatedly for a number of iterations.

Configuring the Step

Use the For Loop edit tab in the TestStand Sequence Editor and the Configure For Loop dialog box in a TestStand User Interface to configure the For step.

Step Properties

In addition to the common custom properties , the For step type defines the following step properties:

  • Step.InitializationExpr —The expression the step evaluates before executing the steps within the block the first time. The expression typically initializes a count variable.
  • Step.ConditionExpr —The expression that must evaluate to True for the steps within the For block to execute.
  • Step.IncrementExpr —The expression the step evaluates after each execution of the steps within the block. The expression typically increments a count variable.
  • Step.CustomLoop —The step uses custom expressions to define the looping behavior for the steps within the For block.

See Also

Flow Control Step Types