> 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.md). Agents can also search and read this documentation through its [MCP server](https://docs.walnutai.ai/~gitbook/mcp).

# Smart Recording

**Smart Recording** in WalnutAI enables you to quickly create automated test cases by capturing application workflows through **AI Recording** or **Manual Recording**. It simplifies test automation by allowing you to define or perform a business flow, while WalnutAI converts it into a structured and executable automated test case.\
\
The Smart Recording interface provides a flexible recording experience where you can **manage test cases, switch test types, select recording modes, and configure recording settings** directly from the **bottom recording bar**.

**Recording Modes:** Smart Recording offers multiple modes to support different testing requirements. Click **AI Recording** in the bottom bar to view and switch between the available modes.

* **AI Recording:** Generate test steps by describing the required application flow using natural-language instructions. WalnutAI understands the instructions, performs the required actions, and generates the corresponding automated test steps. It asks questions or requests additional input whenever necessary to complete the flow.
* **AI Recording – Auto:** Generate test steps using an autonomous AI-driven approach. WalnutAI explores the application on its own based on the provided instructions, performs the required actions without pausing to ask questions, and generates the corresponding automated test steps.
* **Plan:** Interact with the AI bot to describe the required testing objective or application flow. WalnutAI analyzes the provided instructions and generates a **test plan** outlining the recommended approach and steps for testing the flow.
* **Healer:** Fix or troubleshoot a **failing test case** by identifying issues in the existing test flow and applying the required corrections.
* **Manual Recording:** Interact with the application manually while WalnutAI captures the actions performed, including the relevant test steps and parameters, and converts the recorded flow into an automated test case.

<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 application 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>

Before starting a recording, ensure that the **Agent is turned on**. The Agent enables WalnutAI to interact with the application, process the recording or prompt, and generate the corresponding automated test steps.

WalnutAI also allows you to convert existing [**manual test cases into automated test cases** ](https://docs.walnutai.ai/test-and-quality-management/test-management/convert-a-manual-test-case-to-an-automated-test-case.md)using Smart Recording. You can assign a manual test case to **Smart Recording**, after which it appears under the **Tasks** tab. Select the assigned test case to process it through Smart Recording. The existing manual test steps are then used to generate the corresponding **automated test steps**.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2F033L5l9iYEnRMzeo1W59%2FScreenshot%202026-09-25%20at%2012.10.34%E2%80%AFPM.png?alt=media&amp;token=bb262550-2896-408a-991b-76a805cc6132" alt=""><figcaption></figcaption></figure>

Use the **History** button available at the top of the Smart Recording screen to access previous recording sessions. To start a fresh recording session, use the **History** option to initiate a **New Session**, ensuring that the new recording starts independently from previous sessions.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FINtMbX7pjyxLHrzPJ6El%2FScreenshot%202026-09-25%20at%2012.11.27%E2%80%AFPM.png?alt=media&amp;token=084e9e57-2fe4-454f-8715-86f51c7fb047" alt=""><figcaption></figcaption></figure>

Use the **+** icon in the bottom bar to add existing **test cases or custom methods** to the current recording session. You can select the required test case or custom method, choose the environment and insertion point, and reuse the existing automation within the current test flow.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2F3qsuVNgojejCHH5jkPjJ%2FScreenshot%202026-09-25%20at%206.09.58%E2%80%AFPM.png?alt=media&amp;token=61845c3c-0423-446a-b1ea-c640f332697b" alt=""><figcaption></figcaption></figure>

Use the **Attach** button in the chat panel to attach a **document or file** as additional input for the recording. The attached document can be used by WalnutAI to understand the required flow and generate the corresponding test steps.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FgEdp6WO8PFNVIPZUR0Ei%2FScreenshot%202026-09-25%20at%206.11.14%E2%80%AFPM.png?alt=media&amp;token=3bea7c01-f34b-47b7-aa8c-0c200874f042" alt=""><figcaption></figcaption></figure>

Whether you prefer to describe a workflow or interact directly with the application, Smart Recording helps reduce the effort required to build automated test cases while maintaining a structured and reusable test flow.
