NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Update status of sequence after re-test passes

I am tring to implement a re-test of a failed sub sequence call step following the example here but I am having an issue that even if the retest passes the sequence is still set to fail and the whole test failes.  How can I fix this so the the final test status reflects the status of the retest.

Thanks,

Paul

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

Hi Paul,

 

maybe this thread will be interresting for you

http://forums.ni.com/t5/NI-TestStand/Repeating-a-Failed-Sequence-once-more/td-p/1042268/highlight/tr...

 

Regards

 

Juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 2 of 4
(3,318 Views)

While I was able to make a solution on my own, and I didn't quite follow that thread, the first post of that thread did lead me to search though the TestStand example sequences that I forgot to do.  It lead me to the example sequence "FailureHandlerExample.seq" which demonstrated eligant solutions to all my problems.  For that kudos-

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

FYI, the solution was to use the property CausedSequenceFailure to see if that particular step caused the sequence failure.  Depending on the result update the sequence failed Boolean of the calling sequence.  Very nicely demonstrated in the example...

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