> 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="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FOHezBT6XdxgUVKpOJtJI%2Fimage.png?alt=media&amp;token=d7766dcf-e36c-4a75-a3b0-c826cfe7c8aa" 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="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FvFrEdq5LtFh22NBRkuu9%2Fimage.png?alt=media&amp;token=4a2e03f4-c932-4180-a4c7-9cb6b3cce4a4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2F9XzEu471lpoq03XCFwF4%2Fimage.png?alt=media&amp;token=4ae60319-026b-41e3-b98a-af297369f631" 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="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2Fx6YC5MhwaJ1Sy8CQ5mud%2Fimage.png?alt=media&amp;token=bb6dc880-ffa5-4f24-bdd0-96cdcb68573b" 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="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2F6pmBYBkfjYhoIMEGDHH3%2Fimage.png?alt=media&amp;token=5602f729-705a-4c7f-8be6-96f6b83b3fb7" alt=""><figcaption></figcaption></figure>

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