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
(806 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
(575 Views)