# Overriding test results

> Override a test case result when it doesn't reflect actual application behavior, and clear the override if needed.

Override the result of a test case log, and clear or edit the override when needed.

## Overriding test case results

Overriding a result replaces the status of a test case log with the opposite status or with **None**.

### Context

Overriding the results of a test case can help in scenarios where the current test result does not accurately reflect the actual behavior of the application and re-execution is not an effective solution. You can override the test results of a test case and then you can clear the operation, if needed.

### Steps

1. Navigate to **Execution** and open a test result.
2. From the **Results** tab open a test case log.
3. In the **Assertions** tab, select **Tasks** &gt; **Override result**.
4. In the **Override test result** window configure the following fields:
   1. **Change result to** - select whether you want to override the result with the opposite status (**Passed**/**Failed**) or set the result to **None**.
   2. **Comment** - Enter the reason why you override the result.
5. Select **Confirm**.

### Result

The test result that you overrode has the following icon next to its status: ![test result override icon](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-image-299312-05067abb-d77ef193.webp), which gives access to the override details.

Figure 1. The "Test result overridden successfully" message

![The "Test result overridden successfully" message](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-the-test-result-overridden-successfully-message-463538-8996c298-b03b30bb.webp)

## Clearing an override

Clearing an override removes it from the test case log.

### Steps

1. Select the ![test result override icon](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-image-299312-05067abb-d77ef193.webp) next to the result status of a test case log.
2. In the **Override details** window, select **Clear override**.

   Figure 2. The **Override details** menu

   ![The Override details menu](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-the-override-details-menu-463542-6d1c8ef3-748682c2.webp)

### Result

The override is cleared from the test case log.

## Editing an override

Editing an override changes the details that you entered when you overrode the result.

### Steps

1. Select the ![test result override icon](https://dev-assets.cms.uipath.com/assets/images/test-manager/test-manager-image-299312-05067abb-d77ef193.webp) next to the result status of a test case log.
2. Perform changes, and select **Confirm**.

### Result

The override shows the changes that you confirmed.
