NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

report text based on test results

Solved!
Go to solution

I would like to include debug information in the TestStand report.  For example, if test fails, report text = "Try replacing C1."  Is there one expression that would cover all types of tests?  I'm using TestStand 3.5.  Thanks.

0 Kudos
Message 1 of 3
(4,500 Views)
Solution
Accepted by AT1

One idea is that you could use the step's additional results.  Just put a debug message as one of the ideas and then set the Condition to Step.Results.Status == "Failed".  Then it will only show if the step fails.

 

Just a thought.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(4,489 Views)

Hi, when I follow your directions to add the conditional text to the test step on failure.  It prints out every time I run the test step in my For Loop - even when the test step passes.  Please advise.

 

KANG_the_Time_Conqueror_0-1614390939701.png

 

0 Kudos
Message 3 of 3
(1,402 Views)