> 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-reports-section/features-in-report-section-1/re-run-failed-test-cases/feature-and-capabilities.md).

# Understanding Re-run failed Test Case Feature and Capbilities

### Feature Purpose

In test automation, failures may occur due to various transient reasons such as:

* Temporary environmental issues (e.g., network lag)
* Backend service unavailability
* UI loading delays
* Third-party API latency

Often, these failures are not due to issues in the application under test, but rather external or random factors. This feature allows such failed test cases to be automatically retried, improving the overall pass rate without manual intervention.

### Capabilities

* Re-run of Failed Test Cases\
  Only the test cases that failed in the last execution are rerun. The passed test cases are not run again.
* Configurable Re-run Count (Up to 5 Attempts)\
  The number of times a failed test case should be retried can be set by the user. The maximum allowed reruns are 5.
* Updated Execution Report with Final Results\
  After the reruns, the execution report is updated to show the latest result of each test case.
* E2E Test Cases Treated as One Unit\
  For End-to-End (E2E) test cases, if any step fails, the entire E2E test case will be rerun as one unit.


---

# 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-reports-section/features-in-report-section-1/re-run-failed-test-cases/feature-and-capabilities.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.
