NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Step failure causes sequence failure Option

Hi !

 

I need some clarification about the Step failure causes sequence failure Option , I'm using TS 4.2 Under Win XP .

 

Lets say i have a Seq with 4 steps in all of then Step failure causes sequence failure Option is Checked .

 

Record Result in all of the3 steps is Checked , If the first step will fail will it perform the next steps ? and will it record the result for this steps ?

 

Thank U . 

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 12
(5,104 Views)

Record Result in all of the3 steps is Checked , If the first step will fail will it perform the next steps ? YES

and will it record the result for this steps ? YES

What this is signifying, is if a Step fails then when the Sequence has completed and returned back to the caller the status of this step will be FAILED.

If you need to jump to Cleanup then you will need to set the Post Action.

regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 12
(5,103 Views)

Hi Ray ,

 

I Also thought so , but when i have a fail at the first step ( Check Consumption ) It Continues But when i open my Report I don't see any reference to this steps.

 

I don''t want to go to clean-up i want the test to continue as it is.....    

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 3 of 12
(5,097 Views)

Record Result in all of the3 steps is Checked , If the first step will fail will it perform the next steps ? and will it record the result for this steps ?

So which one isn't set to Record Result, not the first one by any chance.

Also have you got the SequenceCall step set to Record Results as well.

I only put the comment about going to Clean-up just encase this was the action you was expected.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 12
(5,093 Views)

That was a typing error all the 4 steps checked on Record Result , Also the Sequence is Checked on that option .

 

Maybe there is some option in the report ?

 

I'm Using horizontal.xsl Template 

 

Edit :

 

Maybe my status casueing this problem ?

 

CheckLimits(Step.DataSource == "Step.Result.Numeric" ? Step.Result.Numeric : (Step.Result.Numeric = Evaluate(Step.DataSource)), Step.Limits.High, Step.Limits.Low,Step.Comp)

 

Trying to see if the value  Step.Result.Numeric is between Step.Limits.High , Step.Limits.Low While Step.Comp is GELE

 

Message Edited by KobiKal on 06-16-2010 04:45 AM
-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 5 of 12
(5,087 Views)

Hi,

 

(I have come across this before.)

 

if you put a break point on the next step. when your execution stops check Locals.ResultList and see if your result has been stored, it should be the first one in the array. Infact you should only have the one result.

 

If its not try putting in a dummy step before your first steps that records a result. (use say a NONE adapter PASSFAIL step type)

Now see if you are getting your actual first step recording the failed result.

 

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 6 of 12
(5,079 Views)

Hi ,

 

I have tried what u said and you where right the array is empty .

 

but i didn't understand , why should i put a dummy step ?

 

and if i'll put one will it make the other steps show in the report even if the first one will fail ?

 

Thanks  

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 7 of 12
(5,076 Views)

[but i didn't understand , why should i put a dummy step ?

 

and if i'll put one will it make the other steps show in the report even if the first one will fail ?]

 

That's what I think will happen. I have seen this before. I will have to search through the forum to see if it was here that I have seen this.

 

regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 8 of 12
(5,072 Views)
OK i Will Do that , The dummy need to read the value ?
-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 9 of 12
(5,058 Views)

the dummy just has to record a result.

 

ray

Regards
Ray Farmer
0 Kudos
Message 10 of 12
(5,054 Views)