> 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/core-features/intelligence-hub/generate-test-cases/smart-recording/ai-recording.md). Agents can also search and read this documentation through its [MCP server](https://docs.walnutai.ai/~gitbook/mcp).

# AI Recording

**AI Recording** in WalnutAI allows you to create automated test cases by describing the required application flow in a natural-language prompt. The AI agent understands the instructions, interacts with the application, and generates structured test steps based on the flow.

WalnutAI provides two AI Recording modes. To switch between the available modes, click the **AI Recording** button in the **bottom bar** and select the required mode.

* **AI Recording:** Generates test steps from the instructions provided through prompts. The AI agent can pause during the process to ask for additional input or clarification when required.
* **AI Recording · Auto:** Follows the same AI-driven recording approach but runs continuously **without pausing to ask questions along the way**, enabling a more uninterrupted recording experience.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FTJr7X2TmajYFIXn5OIJq%2FScreenshot%202026-09-25%20at%2012.31.47%E2%80%AFPM.png?alt=media&amp;token=f93796a2-0793-476e-a173-2450bed53e65" alt=""><figcaption></figcaption></figure>

* Click the **Web** icon in the bottom bar to select the test type you want to automate. Smart Recording supports multiple application types, including **Web, API, Mobile, Mainframe, and SAP**.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2F5UdGE5IlKJ7699dLlwvG%2FScreenshot%202026-09-25%20at%2012.32.58%E2%80%AFPM.png?alt=media&amp;token=25745f4c-f56e-46d9-bae6-6aba9ad1c3be" alt=""><figcaption></figcaption></figure>

* **Click the Settings icon** in the bottom bar to open the **Recording Settings** for the selected application type.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FwvyH1xCBzwVGTkGV0voP%2FScreenshot%202026-09-25%20at%2012.52.23%E2%80%AFPM.png?alt=media&amp;token=dc765baf-dd85-4702-93c7-a439aeb861b6" alt=""><figcaption></figcaption></figure>

* **Live Screen:** Enable **Live Screen** to view the application's interactions in real time while the AI agent performs the actions described in the prompt. If **Live Screen is disabled**, the application opens in a **separate browser window**, where you can view the AI agent's interactions.
* **Reuse Session:** Enable **Reuse Session** to reuse an existing application session, including previously captured cookies. This is particularly useful for applications that require authentication, as it can help avoid repeating the authentication process during subsequent recordings.
* **URL:** Enter the URL of the application you want to automate.
* **Browser:** Select the browser in which the AI Recording should be performed. WalnutAI supports **Chrome, Microsoft Edge, Firefox, and WebKit**.
* Click **Connect**. Once the URL is connected, the prompt-based chat panel is enabled, allowing you to provide instructions to the AI agent and describe the flow you want to automate.
* On the Parameters tab, click Chat with AI to generate test data for the generated test case.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FPeUv8mFjAMdWqtGyHTRj%2FScreenshot%202026-10-16%20at%203.19.06%E2%80%AFPM.png?alt=media&amp;token=13ac8d78-71d4-47b1-897d-01d09b0f8fad" alt=""><figcaption></figcaption></figure>

* You can execute test cases and heal failed test steps directly through the chat panel.

<figure><img src="broken://files/npxC6kwxQnywm64K3jl5" alt=""><figcaption></figcaption></figure>
