> 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/android-device-registration/android.md).

# Android

Once the device is registered, WalnutAI allows you to create automated test cases for Android applications using **AI Recording**. You can describe the required workflow in natural language, and the AI agent performs the actions on the application, captures the flow, and generates the corresponding test steps with parameters.

{% hint style="info" %}
For instructions on registering an Android device, refer to [**Android Device Registration**.](/core-features/intelligence-hub/generate-test-cases/smart-recording/ai-recording/mobile-test-case-creation/android-device-registration.md)
{% endhint %}

**Steps to Create an Android Test Case Using AI Recording**

* Navigate to the **Intelligence Hub**, select **Smart Recording**, and ensure the **Agent** is turned on.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FKv6HboeYjnA9aETgPMoR%2FScreenshot%202026-09-29%20at%206.17.43%E2%80%AFPM.png?alt=media&amp;token=4b6d30b7-b320-4a1c-8b3c-6745023a7148" alt=""><figcaption></figcaption></figure>

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

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

* Click the **AI Recording** button in the bottom bar and select the required AI Recording mode.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FcL4wZ6u26jMGNAkGovvY%2FScreenshot%202026-09-25%20at%201.09.09%E2%80%AFPM.png?alt=media&amp;token=dee7f980-ca4e-4a5a-b682-6b5a54c20fa2" alt=""><figcaption></figcaption></figure>

* Click the **Settings** icon in the bottom bar and configure the required settings. Select **Android** as the platform, and configure the **Device Source** and **Device Type**.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FQ2NUZ8ldGvhqNRNrrJac%2FScreenshot%202026-09-25%20at%203.14.17%E2%80%AFPM.png?alt=media&amp;token=ea9caced-da9d-42df-86bb-17895c4569a1" alt=""><figcaption></figcaption></figure>

* Once the required settings are configured, the connected device appears under the **Device** section. Select the required device to proceed.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FzcLOzUelg0OzvMX8F5wd%2FScreenshot%202026-09-25%20at%203.14.41%E2%80%AFPM.png?alt=media&amp;token=4ea0151e-a4e7-422b-bfed-c5d2332af67e" alt=""><figcaption></figcaption></figure>

* Under **Application**, select the application you want to test.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2F922LGLgel2X55UygKD9L%2FScreenshot%202026-09-25%20at%203.17.40%E2%80%AFPM.png?alt=media&amp;token=c405e272-39f6-421c-bd89-b1f84d950a11" alt=""><figcaption></figcaption></figure>

* If the required application is not available in the application list, you can install it manually:
  * Click **Install APK**.
  * Select **APK** as the application type.
  * Select the required APK file.
  * Install the application.
  * Once the installation is complete, select the application.
* Click **Connect** to establish the connection with the selected application. Once connected, the application opens in the **Live Screen**, allowing the AI agent to interact with it.

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FNxsLu74QIVSgyM86g9G4%2FScreenshot%202026-09-25%20at%203.18.52%E2%80%AFPM.png?alt=media&amp;token=63e032cc-6a12-424b-af9b-5e3df01871e7" alt=""><figcaption></figcaption></figure>

* Describe the required workflow in the chat panel using a natural-language prompt. For example: *Log in to the application using valid credentials, place an order using Cash on Delivery (COD), and verify that the order is successfully placed.*

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FUEFmOkpSO7gZp90cFpzi%2FScreenshot%202026-09-25%20at%203.21.15%E2%80%AFPM.png?alt=media&amp;token=04da11fa-aac0-48a7-9803-bbdab8f348cf" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Use the **+** icon to add existing **test cases or custom methods** to the recording session. For more information, refer to [**Insert Test Cases and Custom Methods**.](/core-features/intelligence-hub/generate-test-cases/smart-recording/ai-recording/insert-test-cases-and-custom-methods.md)
{% endhint %}

* Click **Send**. The AI agent processes the instructions and performs the requested actions on the Android application. WalnutAI generates the corresponding test steps and parameters, while the actions are displayed on the **Live Screen**.
* Once the test case is generated, review and customize the test steps as required. You can **edit request details, modify parameters, skip a step, enable Continue on Failure, add a new step, add a nested test case, cancel a step, or** [**debug the test case**.](/core-features/intelligence-hub/generate-test-cases/smart-recording/debug-a-test-case-in-smart-recording.md)

<figure><img src="https://295337183-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9aroNmDWVJAmMjkdy0hx%2Fuploads%2FeGbCt55ug6DAWft4UlTK%2FScreenshot%202026-08-12%20at%204.19.51%E2%80%AFPM.png?alt=media&amp;token=477761a4-6c63-4b6a-823d-bec581670fba" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
For detailed information on modifying individual test steps, refer to [**Manage a Test Step**.](/test-and-quality-management/test-management/test-cases/manage-test-step.md)
{% endhint %}

* Once you have completed the required modifications, click **Disconnect** to end the recording session. Then, click **Save** to save the generated Android test case and its corresponding steps.
