Skip to main content
🏠Documentation|Test Script Generation For Mobile App

Last updated on : 21 Jan 2025

Qpilot.AI for App Testing

Overview

Qpilot.ai is a revolutionary AI-powered test automation assistant that empowers testers to automate complex web and mobile applications effortlessly. With just natural language descriptions, Qpilot.ai generates flawless, real-time automation scripts in various programming languages like Java, Python, and JavaScript. It runs tests in both local environments and cloud-based labs, providing instant feedback and minimizing errors. Whether you're a seasoned developer or new to test automation, Qpilot.ai adapts to your needs, making it simple to integrate scripts into your existing workflows. Make the most of the self-healing features that modifies the scripts according to the latest updates and changes if any. There are two mode that you can use the Qpilot.ai in -

  • Generation Mode: Here you can create and execute test cases using simple English language prompts.
  • Run Mode: You can run/execute a saved test case on any device or browser from the generated/saved scripts with the updates changes.

Pre-requisites

  • Valid Pcloudy Account.
  • Qpilot.AI Enabled on Account.

1. Using the Generation Mode

In the Script Generation Mode, users can write test cases in simple English prompts, see live execution on a connected device or browser, and save the generated script for future reference to use on other devices.

Steps

  • Login to the platform with your registered Email ID and Password.
  • Connect to any available device from on the platform.
  • Navigate to All Actions and click on Qpilot Mode. The device will be enabled for Qpilot Mode.
  • Select the Application you'd like to test on the mobile.
    • Enter the App Package.
    • Enter Application Package App Activity.
    • Enter the Feature Name.
    • And the Test Description in Simple English.
    • You can add specific test data like usernames, passwords, etc. using the Add Test Data button.
    • You can even Add API Steps to ensure API tests in your test scenario.
    • Once all the information is entered. Click on Save
  • Enter the Save Details
    • You can Select Create Test Suite or Choose One if you already have a Test Suite Created.
    • Enter the Test Suite Name.
    • And Enter the Test Case.
    • And Click on Save.
  • Once the Script is saved the Generate button will get activated.
  • Click Generate to execute the test script.
  • You can then Watch the Live Execution of the Test Script on the connected device or browser.
  • The Test is automatically saved in the Qpilot Dashboard and can be viewed or executed later on any other available device or browser.

2. Using the Execution/Run Mode

In the Execution/Run Mode, a user can execute previously saved test cases on different devices or browsers of their choice.

Steps:

  • Navigate to the Qpilot Dashboard.
  • Find the saved Test Case under All Test and click on the "+" (plus icon) to view more details.
  • Here you can click on the Script button to view the details about the test case.
  • Now you can view the Generated Details of the Test case.
  • You can scroll down and View more information under Generated Script -
    • Click on the Language Drop Down - To change the programming language
    • Click on the Copy icon - To copy the script and use it to share with other or make modification to it.
    • Click on Live Session button - To View the Previously Executed Session.
    • Click on Run Test Case - To Execute the Script on another available android or iOS device.
  • You can click on Console to view the Execution steps captured on the console window.
  • You can click on Test Data to view any test data that was mentioned when the script was being generated.

3. Limitations:

  • Supported Browsers: Chrome (for both Mac and Windows).
  • Generated Script Language: Python and Javascript Was this article helpful?

Did this page help you?