06-16-2010 03:50 AM
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 .
06-16-2010 04:09 AM
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
06-16-2010 04:15 AM
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..... |
06-16-2010 04:27 AM
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
06-16-2010 04:38 AM - edited 06-16-2010 04:45 AM
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
?
06-16-2010 04:56 AM
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
06-16-2010 05:59 AM
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 |
06-16-2010 06:23 AM
[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
06-16-2010 08:51 AM
06-16-2010 09:17 AM
the dummy just has to record a result.
ray