> For the complete documentation index, see [llms.txt](https://docs.avoautomation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avoautomation.com/avo-assure/create-and-execute-tests-with-design-studio/working-with-execution-section/features-in-execution-section-1/re-run-failed-testcase.md).

# Re-Run failed Testcase

To Re-Run the failed Testcases, follow the steps below:

1. On the **Execution** tab, navigate to the **Configuration** window and expand the **Re-Run failed Testcase**.
2. Enable **Re-Run failed testcase** toggle. The **Re-Run Count** dropdown appears.
3. Select the count from the **Re-Run Count** dropdown to execute the failed Testcases that many times.

{% hint style="info" %}
**Note**: By default, the Re-Run Count is set to 1.
{% endhint %}

<img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FlgprZBNaUpW3WGAlvG4I%2Funknown.png?alt=media&amp;token=bddc9e2f-edea-4b0f-a18b-41ad61f108cf" alt="" height="259" width="605">

4. Select **Save** to save all the configuration.
5. Select parent folder of the Execution List and select **Execution** from the upper right corner and the **Execute Now** window appears.

{% hint style="info" %}
**Note**: You can modify the configuration settings from **Execute Now** window.
{% endhint %}

<img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FKY3HCTt0s7HTflX2ZaLA%2Funknown.png?alt=media&amp;token=821b5e75-f560-464f-a9d1-63661508fd72" alt="" height="259" width="605">

{% hint style="info" %}
**Note:**

* A failed Testcase can be Re-Run up to 5 times, as the maximum Re-Run count is limited to 5.
* When you Re-Run the Testcase, the existing Testcase-level report will be overwritten with the new execution results.
* For **End-to-End (E2E)** Testcases, if any step fails, Avo Assure re-executes the entire E2E Test Case as a single unit.
* You can also access the **Re-Run Testcases** option from the **Reports** tab. Refer to[ Re-Run failed Testcases](https://docs.avoautomation.com/avo-assure/create-and-execute-tests-with-design-studio/working-with-reports-section/features-in-report-section-1/re-run-failed-test-cases/re-run-the-failed-test-cases.md)
  {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avoautomation.com/avo-assure/create-and-execute-tests-with-design-studio/working-with-execution-section/features-in-execution-section-1/re-run-failed-testcase.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
