Running Web UI tests on the pCloudy cloud

You can run Web UI test on Android or iOS devices that are connected to the pCloudy 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 completed the following tasks:
  • Set up your account to access the pCloudy cloud. You must have been issued valid credentials such as the URL of the pCloudy instance, the user name, and an API key to authenticate the connection.
  • Verify that the device you want to test is available and in the released state on the pCloudy cloud.
  • Created Web UI tests.
Restriction: The devices that are available to you and the number of devices that are available for parallel test runs depend on the subscription plan that you have opted for in the pCloudy cloud.

About this task

pCloudy is a cloud testing platform that you can connect from Test UI or from a remote agent computer. You can then play back recorded Web UI tests for applications or mobile devices. pCloudy supports both Android and iOS devices. You must configure the pCloudy device cloud environment in Test UI before you can run the tests.

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 > Test > Test Execution > UI Test Playback.
  5. Click the Mobile Device Cloud tab.
  6. Select the pCloudy host checkbox to enable the options in the pCloudy Device Cloud Environment panel.
  7. Perform the actions as listed in the following table:

    Option

    Action

    pCloudy host

    Enter the URL of the pCloudy instance.

    User Name

    Enter the user name of your pCloudy account.

    API Key

    Enter the API key of your pCloudy account to authenticate the user name for a successful connection.

  8. Click Apply.
    Note: When the connection with the pCloudy instance is successful, the devices that you configured on pCloudy are displayed in the Run using drop-down list.
  9. Click Run Test.

    The Run Configuration dialog is displayed.

  10. Select the device on the pCloudy instance for the test playback from the Run using drop-down list.
  11. Click Finish.

    The test playback is started on the selected device.

Results

You successfully ran the Web UI test on the selected device that is on the pCloudy cloud instance.

After the run, the test results are displayed as a unified report in Test UI.

What to do next

You can view the following details from the unified report:
  • The details and screen capture that are associated with each test step. To view these details, you can click each test step in the Details pane.
  • Android device or iOS device on which the test was played back. To view the device, you can click the icon.
  • Test information such as AUT, host computer, and duration of the test. To view such information, you can click the icon.
  • All the screen captures in a slide show format. To view the screen captures, you can click the icon.