NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

skipped tests within sub sequence still passes sequence

We have a number of sub sequences that contain pass/fail test steps.  These steps have pre conditions that aren't being met, therefore, the tests are skipped.  However, the sequence step (as a whole) says it 'Passed'.  You have to delve into the report to see that the tests were actually skipped.  Also, the 'Passed' is a bit misleading to the operator.  Is there a setting somewhere that allows me to say "if any test is skipped, sequence step result is "Skipped".  Or, do I have to somehow do this as a post expression.
0 Kudos
Message 1 of 2
(2,918 Views)
Sorry, but a sequence result of skipped makes no sense to me. There are perfectly legitimate reasons for tests to be skipped. for exampel, if your sequence is designed to test products a and b and b does not have some circuitry that a does, you would want to skip some tests and return an overall pass. On the other hand, if the preconditions are not being met and they should have, you should make sure that you set the fail flag when the preconditions are not met. A status of fail clearly means that the product needs to be retested after some repair action. A status of 'skipped' would be very unclear as to what should be done. Instead of using a precondition, it sounds like you need to learn how to use post-expressions when your current preconditions are being acquired.  
0 Kudos
Message 2 of 2
(2,917 Views)