From a completed pipeline of execution, can we rerun selected testcases which are failed

Hi,

Am aware that we can individually rerun testcases in TestOps. But am here to understand if I can select 2 or more testcases from my completed execution (failed test cases) and rerun the same.

Version : 9.6.0
Thanks,
Sri

1 Like

Hi there,

Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.

Thanks!

Hi @srivarshini.vathsan1, this may help you:

To rerun failed test cases in Katalon Studio TestOps, follow these steps:

  1. Enable Retry in Test Suite:

    • Open your test suite in Katalon Studio.
    • Go to the Execution Information section.
    • Set the Retry Failed Test Cases option to the desired number of retries.
  2. Configure Retry Settings:

    • In the Retry after executing all field, specify the number of times you want to retry the failed test cases. By default, this is set to 0.
    • Choose one of the following options:
      • Retry all executions: Retry all test cases when the test suite fails.
      • Retry failed executions only: Retry only the failed test cases³.
  3. Run the Test Suite:

    • Execute your test suite as usual. Katalon Studio will automatically rerun the failed test cases based on your configuration.
  4. Monitor and Analyze Results:

    • After execution, you can review the results in Katalon TestOps to see which test cases were retried and their outcomes.

This setup helps in identifying and addressing flaky tests by rerunning them automatically

1 Like

Thank you @Dave_Evers, I have been through all the steps you have mentioned which works good.

However please assume a Test Suite has 20 testcases, and the retry is set to 2 and executed. In the results, am still having failed testcases which I would prefer to only select the failed testcases and rerun for 3rd time.

Kindly help me to resolve this.

Thanks,
Sri

Hi @Elly_Tran, any suggestions for @srivarshini.vathsan1 ?