Forum Discussion

Kotaibaw's avatar
Kotaibaw
Occasional Contributor
7 years ago

how to rerun testCase in case if its falied.

hi, i want to rerun testCase in case it will fail.

 

we have few TestSuite we want to take all the failed TC from all the Suite and do rerun on each one of them

 

its possible how to know if testCase failed from diff TestSuite and to rerun all the test case which failed from all the testSuite.

11 Replies

    • nmrao's avatar
      nmrao
      Champion Level 3
      Yes, for that user needs to know the test case name.

      But the author of the question is looking for running all the failed cases automatically.
  • nmrao's avatar
    nmrao
    Champion Level 3
    Is every test case independent in your case? Does the test cases share any data?
    • Kotaibaw's avatar
      Kotaibaw
      Occasional Contributor

      yes its independence ,  we have process which run all testCases and late publishing the report which TC failed and which passed.

       

       sometimes TC which failed on second rerun its passed, so we want in case first failed to rerun the test Case again only once to retry.

       

      can someone suggest how to do it in soapui?

      • nmrao's avatar
        nmrao
        Champion Level 3
        Ok, then it is possible, need to write code to find out all the failed cases automatically and run only those cases.

        Can you specify how do you run your test cases? Using command line testrunner? or something else?