> For the complete documentation index, see [llms.txt](https://docs.walnutai.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.walnutai.ai/test-and-quality-management/test-management/execution-and-ai-healing.md).

# Execution & AI Healing

**Test Execution**

Once your test case is saved, click on **'Run Test'** to initiate the validation process. WalnutAI provides two primary modes of execution to fit different testing requirements:

<figure><img src="/files/ltu0eUtLjt46AqpbCdXw" alt=""><figcaption></figcaption></figure>

* **Automation Mode:** Walnut automatically executes the defined steps using your configured objects and parameters to ensure rapid, consistent validation.

<figure><img src="/files/islmaikVnRM9NFWXoYqm" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/PVviOKOKTCnQ5V7uwjNo" alt=""><figcaption></figcaption></figure>

* **Manual Mode:** This allows you to execute the test step-by-step, providing the flexibility to log actual results, upload evidence, and manually mark each step as Pass or Fail.

<figure><img src="/files/0nZYWpgxlAfvmwrQCkHM" alt=""><figcaption></figcaption></figure>

**AI Healer**

WalnutAI includes an intelligent recovery system to handle the common issue of brittle tests failing due to minor application changes.

* If a test fails due to UI changes or object mismatches, you can trigger the AI Healer directly via the chat interface.
* The AI automatically analyzes the failure to detect the underlying issue, such as a renamed button or a shifted element.
* The system suggests the required updates, allowing you to review the changes and fix the step immediately without manual debugging.
* This proactive approach ensures continuous quality monitoring by resolving misalignments between intent and code before they become technical debt.

<figure><img src="/files/4hVUYgyEG2YLQUH8jq3u" alt=""><figcaption></figcaption></figure>

After execution, navigate to the Reports section to view detailed test case results and execution summaries.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.walnutai.ai/test-and-quality-management/test-management/execution-and-ai-healing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
