For the complete documentation index, see llms.txt. This page is also available as Markdown.

Android

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.

Steps to Create an Android Test Case Using AI Recording

  • Select Mobile as the test type and choose Android as the platform. Configure the required options, including the recording mode, device source, and device type.

  • Once the required settings are configured, connect the Android device. The connected device appears under the Device section. Select the required device to proceed.

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

  • 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 the application is connected, launch it using Start App. The application opens in the Live Screen, allowing the AI agent to interact with it.

  • Once the application is launched, 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.

  • Click Send. The AI agent processes the prompt and performs the requested actions on the Android application. WalnutAI generates the complete test flow with the corresponding test steps and parameters, while the actions are displayed on the Live Screen.

  • Once the test case is generated, review the steps and make any necessary modifications. You can update the generated steps and parameters based on the required test flow.

For detailed information on modifying individual test steps, refer to Manage a Test Step.

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

Last updated