NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to append test reports for mid-sequence failures

Is there a way to append test reports for a sequence when there is a failure mid-sequence?  I have a mechanical test sequence that includes some part assembly midway through.  If there is a step failure beyond that point, I would like to have TestStand skip the appropriate steps, and then append the test report to show a single test report.  I am temporarily handling this by cutting and pasting test reports to result in a full test report.

 

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

I am not sure if this is what you were interested in, however there is a way for TestStand to check the status of a particular step, and do a specific action based on that status. What I was thinking is that you would do an if statement, with the expression being generated with the "Expression Builder." You would then select the appropriate step and click "Insert Step Fail", which reads the particular step's status. You would then create a goto statement to skip to a selected section (cleanup, or another step), so all the remaining steps in between get skipped. I hope that this helps!   

Frank,
National Instruments
Software Group Manager
0 Kudos
Message 2 of 2
(2,895 Views)