Step.CancelCurrentExecution
- Updated2025-07-21
- 1 minute(s) read
Step.CancelCurrentExecution
Syntax
Step.CancelCurrentExecution
Data Type
Purpose
When this property is True , TestStand does not evaluate the pre-expression and does not call the Pre-Step substeps, step module, subsequent Post-Step substeps, or the Post-Step callbacks for the step, nor does it evaluate the post expression or status expression.
Remarks
This property is reset to False after TestStand uses it so that the step runs normally the next time it executes. The property is also reset to False before the start of the next iteration when performing step looping. You can set this property from the Pre-Step Engine callbacks, the step pre- or post-expression, or the Pre- or Post-Step substep of a step type. By setting this property to True , you can use this property to impose additional conditions that a step must meet before it can execute.
Setting this property to True in an OnNewStep substep for the inserted step instructs TestStand to cancel the insertion of the step.