NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to Report Failure in the result list if any of the steps are skipped.

Right now if anything happens that causes a test step skips within my sequence the result passes based on the other tests that were executed and passed (for example if it aborts in the middle or any other error), how can I modify this to fail that test if its status is skipped?

0 Kudos
Message 1 of 2
(2,135 Views)

Hi parissa_wall3,

 

It's not possible to change the meaning of a skipped step to be the same as a failed step in TestStand.  What you can do to implement this functionality is to add a step later in the sequence that checks for any skipped results in the ResultList, and fails itself if any are found.  You can also customize the sequence model file to add the same logic in a way that developers will not be able to override in their own sequences.

 

Here is a related thread you might find useful: https://forums.ni.com/t5/NI-TestStand/If-steps-are-skipped-teststand-still-passes/td-p/3067070

Michael B.
Product Support Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,101 Views)