From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,496 Views)
Solution
Accepted by topic author 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,485 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,398 Views)