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

# Mobile Test Case Creation

WalnutAI enables you to create and automate test cases for **Android** and **iOS** applications. Mobile test cases can be created using **AI Recording** or **Manual Recording** and can be recorded and executed on **real devices** or **emulators/simulators**.

Click the **Web** button in the bottom bar and select **Mobile** as the test type before starting the recording.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FjPNawk35VsrFm1utJrzQ%2FScreenshot%202026-09-25%20at%201.58.23%E2%80%AFPM.png?alt=media&amp;token=14d38f31-fd4d-4d77-9d48-6c590e422405" alt=""><figcaption></figcaption></figure>

**Recording Mode:** WalnutAI provides two AI Recording modes for mobile testing:

* **AI Recording:** Generates test steps based on the instructions provided through prompts. The AI agent interacts with you during the process and can ask questions or request additional input or clarification whenever required.
* **AI Recording · Auto:** Follows an AI-driven approach where the agent independently explores the application and performs the required actions based on the provided instructions, without interacting with you or pausing to ask questions during the process.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FfkL0nk7a6rxN11qhayGk%2FScreenshot%202026-09-25%20at%2012.15.35%E2%80%AFPM.png?alt=media&amp;token=a900bd90-34db-4279-806d-8f02c3c8a1e9" alt=""><figcaption></figcaption></figure>

Click the **Settings** icon in the bottom bar and configure the required recording settings:

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2F21UYIbEOqyGoSVneYOff%2FScreenshot%202026-09-25%20at%202.07.52%E2%80%AFPM.png?alt=media&amp;token=f7904f58-3e54-4796-854d-4f7122e7ea51" alt=""><figcaption></figcaption></figure>

**Platform:** Select the mobile platform based on the application you want to test:

* **Android** – Used to create and execute test cases for Android applications.
* **iOS** – Used to create and execute test cases for iOS applications.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FOqwiDOvgubrjRbhWC63t%2FScreenshot%202026-09-25%20at%202.04.12%E2%80%AFPM.png?alt=media&amp;token=dbd745b3-8107-49d3-ada3-ca2b3c13b2e6" alt=""><figcaption></figcaption></figure>

**Device Source:** Select how you want to connect to the mobile device:

* **Local USB** – Connect a physical mobile device directly to the system using a USB connection.
* **LambdaTest** – Use supported cloud-based mobile devices for remote testing.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FGZuttlZlsyF9t4IprHir%2FScreenshot%202026-09-25%20at%202.05.00%E2%80%AFPM.png?alt=media&amp;token=5a977fe7-3fe4-4320-b7f5-73d3135d7667" alt=""><figcaption></figcaption></figure>

**Device Type:** Select the environment on which you want to record or execute the test:

* **Real** – Use a physical mobile device to validate the application on actual hardware.
* **Emulator** – Use a virtual device that simulates a mobile device environment. Connect and run the emulator for it to become available for testing.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2F2BJoFA5wMOpHaHbC44EV%2FScreenshot%202026-09-25%20at%202.05.37%E2%80%AFPM.png?alt=media&amp;token=3572d70c-5462-4bb3-8f73-78f3fc0179f6" alt=""><figcaption></figcaption></figure>

**Device:** After selecting the device source and device type, select the required device from the available devices.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FRlkkoKpNhPc6H7s0sp11%2FScreenshot%202026-09-25%20at%203.49.15%E2%80%AFPM.png?alt=media&amp;token=d9c3add2-ec6a-4e9c-ad75-19d45fb2810c" alt=""><figcaption></figcaption></figure>

If no device is displayed, ensure that the device is connected correctly and the required settings are configured.
