Rerun a test plan

Prev Next

Overview

When using a test plan, you may often want to rerun only the tests that failed. You can rerun individual tests using the Rerun button on each test result page, but if there are many scenarios in a test plan, rerunning them one by one would be time-consuming, and you may even have to create a new test plan to rerun them.

To address these needs, we have introduced a new feature that allows you to rerun only the failed scenarios directly from the test plan results page.

How to use

  1. Open the failed test plan result page.

  2. Click [Rerun failed tests].
    en-rerun-test-plan-1

  3. Only the failed scenarios will rerun.
    en-rerun-test-plan-2

Points to note

Test Execution Count and Credits

Tests executed using this functionality do not count towards the test execution count or credits.

Rerunning a Previously Rerun Test Plan

If there are failed scenarios in a test plan that has already been rerun, you can rerun them again.

Multiple test execution environments

If several test execution environments are set, the scenario will rerun in all of them, even the ones that were successful.

For example, if a test plan has both Chrome and Edge as its execution environments, and Scenario A only failed in Chrome, it will rerun in both Chrome and Edge.

Impact of sequential and parallel execution on reruns

Rerunning failed tests preserves the test plan execution mode:

  • if a test plan uses parallel execution, scenarios will rerun in parallel
  • if a test plan uses sequential execution, scenarios will rerun sequentially

If a scenario has been deleted

If a failed scenario was deleted from the test plan when it is rerun, that scenario will be excluded from the rerun.

If a scenario has been updated

If a scenario to be rerun has been updated, an alert will notify you of the change. You can proceed with the rerun by selecting 'OK'.

Variables

The rerun uses the variables used in the failed test.

Data

You cannot rerun the test if the data used in the failed test has been updated.

Deprecated test environments

You cannot rerun the test if the environment used in the failed test has been deprecated.

URL Replacement

The current URL replacement settings are used during the rerun.