Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

As we all know, the customers that initially just had web applications for business, have started creating Mobile applications for the same. Mobile application testing was seen as a challenge by many but BQ Genie has simplified the process of creating a mobile test case. It captures the actions that you perform on the mobile application and converts it into executable tests. Yes!! It is that simple.


Prerequisites :

  • For iOS, WebDriver Agent should be signed in through Apple developer account.

    Please refer to the below link :
    How to Setup BQ for Mobile Testing
  • Please make sure the Application created is Mobile Native
  • The app file / app url / Bundle id / package name (if app already installed on device) should be added under Attachments tab of the application.
  • A simulator / emulator should be setup on the machine or a real device should be connected to the machine.
  • USB Debug mode should be enable d for the Android real device.

Instructions to start BQ Genie for Mobile :- 

  1. Click on DESIGN on left panel.
  2. Click on Test Case.
  3. Create a new test case.
  4. Click on Test Steps tab.
  5. Click on the Record button.
  6. Enter the meta data for the Recorder pop up.
    •  Port number (If the BQ client is not running on the default port 9999)
    • Application type (Mobile Native)
    • Select Device (connected devices (simulator & real device) will be fetched on clicking the refresh icon)
    • Application version (Select the application version on which you wish to record test from the drop-down)
  7. Click on Go button. BQ Genie and a mirror screen will be launched.
  8. Perform actions on the application and appropriate steps will be recorded.
  9. Save the steps recorded and the test case.

      

Executing tests for Mobile (Local execution) :-

Prerequisite : 

User should be on the Test case creation screen.

Step-by-step guide :-

  1. Select the test to execute.
  2. Click on the Test Steps tab.
  3. Click on Run button.
  4. On the Execution pop up window, select the device (simulator/emulator/real device) and the application version.
  5. Click on Go button. 

The Local Executor window will be displayed and the test will be executed on the selected device (simulator/emulator/real device).


Executing tests for Mobile (Remote execution) :-

Prerequisite : 

  1. Test cases should be created.
  2. Test cases should be added to the Test Suite.

Step-by-step guide :-

  1. Click on Execute.

  2. Click on Execute Automated Test.
  3. Select the Suite that you wish to execute. You should be able to view the 'list of test cases' under that suite along with its 'Last Execution Details'.

  4. Select the test cases that you wish to execute.
  5. In the Execution Details section, please enter/select the below details. 

    • Run Name
    • Executing in Sprint (Select the sprint in which you are executing the test cases)
    • Android version / iOS version
    • Execution Tags (if used any in the test cases)
    • Email Execution Report To (optional)
  6. If you expend the Advanced Settings section, you will see two options Uninstall App (Mobile) and Clear App Data (Mobile). Clear App Data (Mobile) checkbox will be checked by default. 
  7. When you expand the Execution machine(s) section, you will see the Desktop/Device(s) section, where you should be able to view the connected devices.
  8. Select the device on which you wish to execute the test case.
  9. Click on Run Selected button (if you have wish to execute selective test cases) or either click on Run All button (if you have wish to execute all test cases in the suite).

Debugging Tests

Remote Execution




  • No labels