cancel
Showing results for 
Search instead for 
Did you mean: 

continuing the Iteration based if one iteration fails

SOLVED
Frequent Contributor

continuing the Iteration based if one iteration fails

Hi All ,

 

In Test Items we can add our Testcases and run it at once. Now, can we control each iteration of the test case from test items Count Column based on the value we give .

 

 

tescomplete.png

But while executing we can get the count of the current iteration and the name of the test cases

 

items.png

 

Now if am iterating 10 times and 3rd time if  test case failed then the whole execution getting stopped , is there any way to continue the iteration with out stopping the whole execution .

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: continuing the Iteration based if one iteration fails

There is a column on that test items screen that is not visible by default that has to do with Stop on Error and Stop on Exception.  Please add those columns and verify that the Stop on Error on the test item level is set to "None".  That should prevent this behavior


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

4 REPLIES 4
Community Hero

Re: continuing the Iteration based if one iteration fails

Simple way is , uncheck the Stop on Error in Tools > Current Project properties > Playback

 

uncheck.PNG

 

If you want make it as conditional then we have to do some scripting.


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”


Extension Available

Frequent Contributor

Re: continuing the Iteration based if one iteration fails

@@shankar_r  No that doesn't help here .Already tried it .

Community Hero

Re: continuing the Iteration based if one iteration fails

There is a column on that test items screen that is not visible by default that has to do with Stop on Error and Stop on Exception.  Please add those columns and verify that the Stop on Error on the test item level is set to "None".  That should prevent this behavior


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

Frequent Contributor

Re: continuing the Iteration based if one iteration fails

@tristaanogrethanks for the info , i tried it worked 😄

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors