# Re-executing test executions

> Re-execute a test execution in Test Manager to replace previous results, or run the test set again to generate independent execution results.

If you re-execute a test execution the old execution results are deleted and replaced with the new results. If you don't want to replace a test execution result, then run the test set again. This generates new test execution results, independent from the previous ones.

The pre-defined user roles that can perform re-executions are: **Test Manager**, **Test Executor** and **Manual Tester**.

## Re-executing test set executions

Re-executing a test set execution replaces its previous results with the new ones, which is useful when you want to update the outcome of a test execution rather than produce a separate record.

### Steps

1. Go to **Execution** and choose one of the following:
   * Select **More Options** ![More Options icon](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-docs-image-more_options_icon_test_manager-ac8cfb1d-e8d350e6.png) for the test execution that you want to redo.
   * Open the test execution and select **Tasks**.
2. Select one of the following:
   * **Execute Manually**
   * **Execute Automated**
3. Execute the manual steps or wait for the automated test set to finish.
   :::note
   Re-executing test set executions does not display the activity coverage anymore.
   :::

### Result

The previous results of the test set execution are replaced by the new results in the **Execution** section of the project.

## Re-executing test case executions

You can re-execute one or more test case executions of a test set execution.

### Steps

1. Go to **Execution** and open a test set execution.
2. Select the checkboxes for one or more test case executions and then select **Execute**.
   :::note
   For data-driven test cases, you can only re-execute one test case execution at a time. You cannot re-execute data-driven test case executions in bulk.
   :::
   :::note
   Re-executing an individual test case this way only works when **Enforce execution order** is not enabled on the test set. If order is enforced, selecting a single test case is not honored, but the entire test set re-executes instead. This selection may also not be honored for test cases with test variations, where the entire test set could re-execute instead.
   :::
3. Select one of the following:
   * **Manually**
   * **Automated**
4. Execute the manual steps or wait for the automated test case to finish.

### Result

The previous results of the selected test case executions are replaced by the new results in the **Execution** section of the project. The version that is re-executed is the version recorded in the test execution, even if you published a newer version of the test case.
