NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Why is sequence "Passed" if a step inside is "Error"?

Solved!
Go to solution

Hello,

i have a simple testplan with only one sequence that contains only one labview-teststep.

The only thing that the step is doing is to create an error by passing a True to the Step.Result.Error.

When i only run this step then the "RunTimeError" pops up a window. There i click on OK and then the step is shown as "Error" in Status-column.

 

When i execute the sub-sequence that contains only this step then i also get the "RunTimeError"-window but now the sequence is shown as "Passed".

Why does this happen? Is this the normal teststand-behaviour?

 

Thanks for all help

0 Kudos
Message 1 of 4
(3,326 Views)

I created a sequence call to a sub-sequence containing a single step, a "none" adapter containing "Step.Result.Error.Occurred" in the pre-expression. The sequence call failed. I'm not sure if I'm re-creating the problem correctly?

 

Main

Call a Sequence   --->      Action(Step.Result.Error.Occurred=True)

 

Call a sequence shows failed

0 Kudos
Message 2 of 4
(3,324 Views)
Solution
Accepted by topic author OnlyOne

No, I would not expect that behavior, unless you clicked to 'Ignore' the error on the RunTime Dialog.

 

When the 'Run Time Error' dialog appeared what Radio Button did you select?  See Attachment

 

Thanks,

PH

0 Kudos
Message 3 of 4
(3,310 Views)

Thats it. Somehow the Ignore-Button was selected...

Thx

0 Kudos
Message 4 of 4
(3,306 Views)