Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Pass/Fail test error vs fail

$
0
0

Hi,

 

I have a pass/fail test with has an "error out" and a "PassFail flag" and a "Report text" output. I'd like to differentiate between an error (eg: a file the test wants to open can not be found) and an actual failure (eg: measurements are not within the limits)

 

So I have set the Step.Result.Error, Step.Result.ReportText and Step.Result.PassFail variables to my output. If the test fails it jumps to the Cleanup as I have set. If the step outputs an error then it continues the execution (I'd like it to go to the cleanup on an error as well)

 

How should I handle this?

 

thx!


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>