> 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:** WalnutAI 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.
