Generate Test Cases for Android & iOS


You can generate test cases for android and iOS applications using Testsigma’s GenAI capabilities. This helps you accelerate testing efforts by reducing manual effort and enabling faster test coverage. You can provide multiple input sources such as Jira stories, Figma designs, Xray requirements, video recordings, and other file formats like images and PDFs. This article discusses generating test cases for android and iOS apps using Gen AI capabilities in Testsigma.


Prerequisites

Before you begin, ensure that,


Steps to Generate Test Cases

  1. From the left navigation bar, go to Atto’s Home.
  2. Click Generate with AI.
  3. In the Generate Test Cases section, select Figma Designs.
  4. In the Figma Designs dialog,

    • Select a Team, Project, Figma File, Section and Page from the respective dropdown menus.
    • Click + Select Frames, select the required frames in the Select Frames screen, and click Add Frames.
    • If you want to remove all the selections that you have made, click Clear Selection.

    Inputs for Mobile

NOTE:
  • If the selected page has no Sections, you can directly select the frames.
  • The maximum limit for selecting frames is 10.
  1. In the Figma Designs dialog, click Video from the ADD FILES menu. Video
  2. In the Video Recording dialog, click Add Files.
  3. Select a video file and wait for the upload to complete.
  4. Once the video is loaded, click Save.
  5. Click Save again.
  6. In the Prompt box, enter a detailed prompt that describes test cases want to generate.
  7. The Read existing test case library checkbox is selected by default. Clear this checkbox if you do not want the system to consider existing test cases while generating new ones.
NOTE:
  • Once the Read existing test case library option is enabled, it cannot be unselected during the same session. The selection remains applicable throughout the session. However, you can enable this option at any time during a session if it was not selected earlier.
  1. Click Generate with AI.
  2. Wait for Generator Agent to generate multiple test cases based on the selected inputs.

Next Steps

  1. After the test cases are generated, expand a category and select a test case.
  2. In the Test Case Details dialog, go to the Manual Steps tab and review the generated steps.
  3. Click Edit to manually add a step or block, or to modify existing steps.
  4. If you want to refine the steps using Atto, enter a prompt and click Refine manual steps.
  5. Click Generate Automated Steps to convert the manual steps into NLP-based automated steps.
  6. To execute the test before saving, hover over Run with Copilot and select the environment where you want to run the test steps. Copilot executes the steps automatically. Review the results to ensure everything works as expected, then click Save to Library to save the test case to your project.
  7. To save the test directly, click Save to Library. In the Select Location dialog box, expand the required Feature and select the Scenario where you want to save the automated test case.
NOTE:
NOTE: