NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step post actions runtime modify?

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

0 Kudos
Message 1 of 4
(3,285 Views)

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.

Message 2 of 4
(3,278 Views)

Thanks!

 

What does the SequenceFilePostStepFailure do?

 

Jick

0 Kudos
Message 3 of 4
(3,274 Views)

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.

Message 4 of 4
(3,266 Views)