Hi James, Hi Maarten,
I also tested this step property in TestStand 2.0.1. and as result of my tests I can say the followings:
- If you set the CancelCurrentExecution property from a defined PreSubstep for a step type, than the step is not further executed (e.g. behaves normal)
- If you set the CancelCurrentExecution property from any other place (e.g. engine callbacks, sequencefile callbacks, post substep aso), then the step is executed normally (e.g. behaves abnormal)
The attached sequence file contains a modified MessagePopup step which has an additional PreSubstep that will set the Step.CancelCurrentExecution to the value of the Step.CancelExecution step sub-property.
When this sub-property is set to TRUE then
the message window is not shown anymore.
James, you're right, and Maarten, if you need this functionality for a limited set of steps then you can use this feature as a PreSubstep too.
Regards,
Silvius
Silvius Iancu