12-10-2012 05:08 AM
Hello,
My SequenceCalls has Goto step -> cleanup in Post Actions as a default setting. Is it possible to modify this condition what TestStand does when Fail happens? I would like to have user decide at the beginning of the test what to do. Either keep current settings (On fail Goto CleanUp) or On Fail goto next step. It could be some kind of popup message or something like that. Or do I have to do completely new sequence for On Fail goto next step case?
BR,
Jick
12-10-2012 06:16 AM
I have attached one of the approach.
But here the default is go to next step instead of go to cleanup.
On failure and based on a user set variable it skips all further tests ( i.e. goes to cleanup) if opted for.
Hope this helps.
12-10-2012 06:56 AM
Thanks!
What does the SequenceFilePostStepFailure do?
Jick
12-10-2012 07:22 AM
Its a engine callback which is invoked in case of any step failure.
By default it does nothing.But we can override the default behaviour by overriding it in our test sequence.
Callbacks are generally overridden to change default behaviour as in your case ( customisation).
You can check for more details in reference manual and examples.