NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with the pass/fail test

I started having this trouble just recently and I can't figure out the problem. Just all of a sudden (without me changing anything anywhere apparently), whenever I call a pass/fail test and if the test fails, the sequence execution immediately goes to the <End Group> step. I want the execution to proceed with the next step regardless of a pass or a fail. I have rechecked the run options repeatedly and there's nothing in there that might be causing this. Also, if a pass/fail step fails and I am running on single pass, even the report does not get generated.
 
I know it can be really hard for someone out there to tell me what the problem is. I am posting this message here just to see if people have any general comments/suggestions on what might be going on (perhaps this is a common problem which someone has run into before). The comments/suggestions might help me debug the problem.
 
Thanks
 
Anuj
0 Kudos
Message 1 of 6
(3,607 Views)
It has to be some setting that you are overlooking, assuming that you have not modified the process model.  Can you please post your sequence code here, and point out which step is giving the problem.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 6
(3,598 Views)

Anuj,

Perhaps your post-actions properties tab was changed?  I would suggest opening up your action that is giving the problems and going to the 'Post Actions' tab.  Check out what action is in the 'On Fail' box.    It defaults to 'Goto next step' but perhaps this was changed by accident?

0 Kudos
Message 3 of 6
(3,595 Views)
Anuj -
Check the Sequence Properties dialog box for the sequence that the step is in.  Look at the "Immediately Goto Cleanup on Sequence Failure" setting to see if this is checked.
Scott Richardson
https://testeract.com
0 Kudos
Message 4 of 6
(3,586 Views)

Hi Anuj,

Do you have other step type in the same sequence or just Pass/Fail type?

What adapter type are you using, LabVIEW, CVI, etc...

Does it happen in the just one sequence or any sequence?

What versions are you using?

Posting an example would help.

Regard

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 5 of 6
(3,581 Views)
I found the problem (and as always, turned out to be a stupid mistake on my part). In the configure station options, I had the "Immediately Goto Cleanup on Sequence Failure" option checked. I usually switch between "Show Dialog" and "Ignore" option in that window, and probably what happened is I clikcked this check box sometime by mistake. I was only looking into the run options of the pass/fail step and the sequence file properties to debug the problem, never thought it could have been in the station options.
 
I really appreciate your replies.
 
Thanks !
 
Anuj
0 Kudos
Message 6 of 6
(3,574 Views)