From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

Determining whether error occurred

Solved!
Go to solution

I have a step in cleanup to report the final test result: passed, failed, or error and to record the failure or error cause.

 

When an error occurs, RunState.Execution.ErrorReported remains false though after an error thrown by a python adapter step.

 

Should I be looking somewhere else?

0 Kudos
Message 1 of 2
(622 Views)
Solution
Accepted by topic author stephenb2

Revisiting this post since I have a solution.

 

I should have been looking at RunState.SequenceError.Occurred and RunState.SequenceError.Message to find errors when they occur.

0 Kudos
Message 2 of 2
(391 Views)