Hi everyone,
I realized a sequence in teststand with the PreStep callback, I wanted to know if it is possible to skip from this PreStep callback to the cleanup of the MainSequence in case of FAIL of the prestep.
What do I have to do?
I've tried to set a post execution in case of fail with an expression but I couldn't find the right expression to select the cleanup of the main sequence.
Thanks in advance.
Hi,
In your pre step sequence You can check if the step has failed.
If failed you can terminate the sequence.
It can be through post actions --> On Fail-- > Terminate execution.
Or thorugh a statement step -- engine.terminateall()
Terminate will ensure cleanup is run before closing.
Ravi