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.