Running Web UI tests on BitBar mobile device cloud

You can run Web UI tests on mobile devices available in BitBar cloud device from the test workbench and to view the execution reports in the BitBar cloud.

Before you begin

  • You must have your BitBar mobile cloud URL.
  • You must have the BitBar mobile cloud API key. This key is available under My Account > My Integrations > API Access in BitBar Cloud.
  • You must have created one or more Web UI tests that have to be tested on the mobile device.

About this task

You must enable BitBar device cloud environment under Web UI Playback in Preferences. This feature is supported in Linux and Mac operating systems.

Procedure

  1. Go to Windows > Preferences > Test > Test Execution > Web UI Playback.
  2. Click the Mobile Device Cloud tab.
  3. Under Bitbar Device Cloud Environment, complete the following fields:
    1. Bitbar host: Select the check box and enter your BitBar host URL.
    2. API key: Enter your BitBar mobile cloud API key.
    3. Click Refresh projects and device groups Enables project and device group.
      The Project and Device Group fields are now enabled.
    4. Project: Select the required BitBar project from the drop-down list.
    5. Device Group: Select the required mobile device group in your BitBar cloud.
    6. Test Run: Optional. Enter an appropriate name for the test run in the BitBar cloud. The default value is runTest.
  4. Click Apply.

    You can now select the required mobile device under the Run Using field in the Run Configuration dialog box.

    Run configuration for BitBar mobile devices

Results

All mobile devices in the selected device group are now available for Web UI testing.

What to do next

You can view the execution results under the Projects tab on the BitBar cloud page.