Copilot in Mobile Recorder


Testsigma has simplified test case generation for mobile applications with Testsigma Copilot. 🤖

  • With just a single click, you can create test cases.
  • You can provide simple prompts to generate tests that accurately mimic the user behavior.

This article discusses test case generation for mobile applications using Testsigma Copilot.

NOTE:

This feature will soon be available for iOS applications as well 🚀.

Prerequisites

Before you begin, ensure that:

  1. You have enabled AI features from Settings > Preferences > Generative AI features.
  2. You have referred to the documentation on creating test cases.

Steps to Generate Test Cases

  1. From the left navigation bar, go to Create Tests > Test Cases.
  2. In the Test Case Explorer section, expand the required feature and click the ‘+’ icon next to the target scenario. This will open a dialog box.
  3. On the dialog box, validate the target feature and scenario, enter the name in the test case name input box, and click Create.
  4. Click Record in the top-right corner.
  5. In the Record Test Steps overlay, select the required Test Lab and Machine, upload the APK/IPA file, and click Record.
  6. Wait for Testsigma to load the application with the necessary configuration.
  7. Click Testsigma Copilot on the Test Recorder.
  8. In the Testsigma Copilot overlay, click Generate Test Cases. The Testsigma Copilot will start generating test cases based on the current page.
  9. Wait for the test cases to generate.
  10. Click any generated test case to view its corresponding test steps.
  11. Select the steps and choose one of the following options:

    • Click Add to test case to import the displayed test steps into the recorder.
    • Click Add as step block to add the selected steps as a step block in the recorder.
  12. Modify the test steps as needed to match the desired test case behavior. Once the modifications are done, click Stop to return to the test case details page.

Generate Test Cases with Prompts

  1. Follow the same steps from 1-7 from the above section.
  2. On prompt input, enter the prompt for which you want to fetch test steps and press Enter.
  3. Wait until the test steps are generated.
  4. Select the steps and choose one of the following options:

    • Click Add to test case to import the displayed test steps into the recorder.
    • Click Add as step block to add the selected steps as a step block in the recorder.

Interactive Demo

Try this interactive demo to learn how to generate test cases for Android apps using Testsigma Copilot!