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 :-
- Click on DESIGN on left panel.
- Click on Test Case.
- Create a new test case.
- Click on Test Steps tab.
- Click on the Record button.
- 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)
- Click on Go button. BQ Genie and a mirror screen will be launched.
- Perform actions on the target element on mirror screen and appropriate steps will be recorded.
- If the Friendly name or Frame name is not auto populated for an element, on the recorder, please enter a suitable name for the element to be recognized.
- Save the recorded steps.
The Bq Genie recorder will be displayed like this for Mobile.
# | Button | |
---|---|---|
1 | Start / Stop recording | To start or stop recording |
2 | Spy | To locate a specific element |
3 | Record element screenshot as property | This checkbox needs to be checked for the recorder to record the image property |
4 | Anchor point while recording dynamic element | This checkbox needs to be checked for the recorder to select an anchor point while recording dynamic elements. |
5 | Displays recorded steps / elements | Area that displays recorded steps |
6 | Locator properties | Dropdown to view locator properties of a particular element. |
7 | Params | Recorded param values are displayed here. |
8 | Update | Saves the updated param value |
9 | Console | Displays logs |
10 | Pause console logs | Pauses the logs displayed on the console. |
11 | Clear logs | Clears the logs from the console. |
12 | Search box | To find a specific word in the logs. |
13 | Previous arrow | Finds the previous searched word. |
14 | Forward arrow | Finds the next searched word. |
15 | @ symbol | To mail the logs if the mail account is set up for the user |
16 | Save | Saves the recorded steps. |
17 | Clear | Clears the recorded steps. |
Anchor checkbox :
BQGenie for Mobile also allows you to view the Source code.
Add Comment