07-16-2019 01:58 PM
Hi all,
I know that it exists this option in station option global for all test socket.
in my case, I'd like to control and handling manually failure for each test socket.
for that, I'm using callback SequenceFilePostStepFailure.
I manage Retry, Continue, Force to Pass.
But I don't know managing go to cleanup
Do you have an idea how I can do that?
Thanks for your help
Solved! Go to Solution.
07-16-2019 02:16 PM
RunState.Caller.GotoCleanup = True
Also will need to set:
RunState.Caller.RunState.SequenceFailed = True
07-16-2019 02:27 PM
Thanks but if you do that, I will perform the first "cleanup" and after perform all next steps.
I want to finish in case of failure.
But I've found just after raising a message.
I perform a terminate which finishes immedialty the test and performes all the cleanup