Running Web UI tests on Perfecto mobile cloud

You can run Web UI test on Android or iOS devices that are connected to the Perfecto mobile cloud testing platform. After the test run is completed, you can view the test reports in HCL DevOps Test UI (Test UI).

Before you begin

  • You must have Perfecto mobile cloud URL and credentials.
  • You must have created one or more Web UI tests that have to be tested on the mobile device.

About this task

When you run a Web UI test in the mobile device cloud, you must ensure that the connection is valid. Before the test execution starts, you can check the connection and make sure that the test runs without any interruption.

Procedure

  1. Start Test UI.
  2. Select the UI Test perspective.
  3. Open the Web UI test for playback from the Test Navigator pane.

    The Test is displayed.

  4. Go to Window > Preferences > UI Test Playback > Mobile Device Cloud.
  5. Select the Perfecto Device Cloud Host check box to enter the details of the Perfecto mobile cloud.
  6. Enter the host name in Perfecto Host.
  7. Enter the API key in Security Token.
The credentials are validated and a message is displayed about the connection validity.
  1. Click Apply and Close.
  2. Open the Web UI test for playback from the Test Navigator pane.

    The Test is displayed.

  3. Click Run Test.

    The Run Configuration dialog displays all the devices along with the name and model number that are available on the Perfecto mobile cloud.

    Selecting the mobile device

  4. Select a device from the Run Using list.
  5. Click Finish.
    The Web UI test starts getting executed on the selected device on the Perfecto mobile cloud.