> 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).

# 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.

To use AI Recording, configure the recording options based on your application and testing requirements.

* Select **AI Recording** as the recording mode. This allows you to create the automated test case by providing instructions through prompts rather than manually interacting with the application.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FLTL4XJrfUzFWRIBCNpi0%2FScreenshot%202026-08-10%20at%206.22.37%E2%80%AFPM.png?alt=media&amp;token=8b74f4f3-c89a-4975-a4af-aa247c2ae3eb" alt=""><figcaption></figcaption></figure>

* Select the type of application you want to automate. AI Recording supports **Web, API, Mobile and Mainframe.**

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2Fbd1eL2QLjAQEm2V2vSVO%2FScreenshot%202026-08-10%20at%206.23.43%E2%80%AFPM.png?alt=media&amp;token=56ee62d7-3160-4813-ab32-9cb31771f71d" alt=""><figcaption></figcaption></figure>

* Enable **Auto Mode** to allow WalnutAI to generate the test case directly based on the provided prompt. This mode reduces the need for an extended interactive recording process and is useful when the test flow is clearly defined.
* **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. This allows you to observe how the agent navigates and interacts with the application.
  * If **Live Screen is disabled**, the application opens in a **separate browser window**, where you can view the AI agent's interactions with the application.
* Enable **Reuse Session** when you want to reuse an existing application session, including previously captured cookies. This is particularly useful for applications with authentication, as it can help avoid repeating authentication process during subsequent recordings.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FR2yHVTI4GmK85aGPISyk%2FScreenshot%202026-08-10%20at%206.24.59%E2%80%AFPM.png?alt=media&amp;token=c407c464-c36d-4cb2-b95a-6477dd18efb5" alt=""><figcaption></figcaption></figure>

* For Web applications, select the browser in which the AI Recording should be performed. WalnutAI supports browsers such as **Chrome, Microsoft Edge, Firefox, and WebKit**.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FVPbrPd0FaKp6NJe8JuJr%2FScreenshot%202026-08-10%20at%206.25.17%E2%80%AFPM.png?alt=media&amp;token=ab0af4af-122c-402f-b247-02f42b94feb1" alt=""><figcaption></figcaption></figure>

* Enter the URL of the application you want to automate and 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.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FcGpRbDBg2iYx9kPvsfy0%2FScreenshot%202026-08-10%20at%205.25.15%E2%80%AFPM.png?alt=media&amp;token=70788c9d-732e-43ed-80f9-f777116f5237" alt=""><figcaption></figcaption></figure>
