Forum Discussion

JackSparrow's avatar
JackSparrow
Frequent Contributor
8 years ago

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 .

 

 

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

 

 

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 .

 

 

  • 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

  • shankar_r's avatar
    shankar_r
    Community Hero

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

     

     

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

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        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