Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Its quite simple to execute a single test Even though Android and iOS environments are vastly different, but given BQs paradigm of write once and execute anywhere, the same test can be executed on both Android and iOS. All you need to do is use ifAndroid & ifiOS keywords for the respective steps and you are good to go.

Instructions

...

Click on Design on left panel

...

Click on Test Case option

...

Create or select an existing module

...

Click on Add Test button

...

Enter the meta data for Test Case Details

  1. Objective

  2. Priority

  3. Designer

  4. Reviewer

  5. Type

  6. Category

  7. Test Path

...

Click on Save

...

Click on Test Steps tab

...

Save the test case.

To execute the test case, you can either execute the test case locally or simply add the created test to a Test suite and then execute it remotely.

 This feature comes with the following caveats:

  1. App workflow should be the same for both Android and iOS

  2. UI elements use IDs in both application variants

However, we understand that maintaining these constraints requires a lot of discipline and may not be met. In this situation we have the following ways to work with slightly different variants:

  1. In case app workflows differ between Android and iOS, you can write steps that differ between the variants inside conditional keywords ifAndroid and ifIOS.

  2. If apps use different UI elements to leverage device's native capabilities, you can record the test on any variant and then leverage BQ Genie Scanner to update UI elements for the second variant.

Creating Test Suite

...