> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-mobile/en/using-autify-nocode-mobile/test-execution/rerun-a-test-plan.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# Rerun a test plan

## Overview

When operating test plans, you often want to run only the failed tests again. For individual tests, you can rerun them from the test result details screen. However, when managing many scenarios in a test plan, it can be difficult to rerun them one by one, or you may need to prepare a separate test plan for rerunning. To meet these needs, we have provided a test plan rerun feature that allows you to rerun failed test scenarios or failed devices from the test plan execution results.

## How to use

Open the failed test plan execution result and rerun it according to the conditions you want to rerun under.

* If you want to rerun the test under the same conditions:
  * Click **Rerun failed tests** to rerun it.
* If you want to rerun the test with a specified build file:
  * Click the down arrow next to the Rerun failed tests button, then click the **Configure rerun** button. Select the build file, and click the **Rerun failed tests** button to rerun it.

![](https://1041389054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj0BSsfTevAGpY0hwBHT7%2Fuploads%2Fgit-blob-ad239c141d6a5e925abfe1c7fca566658a6852a2%2F%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%202026-07-23%2011.12.54.png?alt=media)

## Targets for rerun

Tests with statuses other than success will be rerun.

![](https://1041389054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj0BSsfTevAGpY0hwBHT7%2Fuploads%2Fgit-blob-25f8a13aec72d55627321b26ce0d3d30bf509162%2Frerun_testplan_before.png?alt=media)

### Rerun Test Results

For rerun test results, tests that already passed will show a "Passed and Skipped" icon; clicking it takes you to the test result where it previously passed.

![](https://1041389054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fj0BSsfTevAGpY0hwBHT7%2Fuploads%2Fgit-blob-84d4333bb59ef785a1e08b165126ecd94f0bd954%2Frerun_testplan.png?alt=media)

## Points to note

### Rerunning a rerun test plan

If the rerun test result also includes failed test results, you can rerun it again.

### If a scenario has been modified

If a failed scenario in the test plan has been modified at the time of the rerun, the scenario will be rerun with the updated content. Also, if a failed scenario has been deleted from the test plan at the time of the rerun, that scenario will be excluded from the rerun.

### Deprecated test execution environments

If the test execution environment used during the original test execution has been deprecated, the rerun cannot be performed.


---

# 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://help.autify.com/nocode-mobile/en/using-autify-nocode-mobile/test-execution/rerun-a-test-plan.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.
