Running Web UI tests on LambdaTest Cloud
You can run Web UI tests on the LambdaTest Cloud platform so that you can choose devices from a wide range of Android and iOS devices that are available for testing.
Before you begin
You must have completed the following tasks:
- Set up your account to access LambdaTest Cloud. You must have valid credentials such as the username, either the hostname or the URL of the LambdaTest Cloud instance, and an API key to authenticate the connection. This key is available under ACCESS KEY in the LambdaTest dashboard.
- Created one or more Web UI tests.
- Verified that the device you want to test is in the list of active devices. The list displays the devices that are in the Released state on LambdaTest Cloud at the time of selection for a test run.
About this task
LambdaTest is a cloud testing platform, which you can connect from HCL DevOps Test UI (Test UI) or a remote agent computer. LambdaTest supports both iOS and Android applications. You can run the tests after you configure the LambdaTest Device Cloud Environment panel.
Procedure
- Start Test UI.
- Select UI Test perspective.
- Go to .
- Select the Mobile Device Cloud tab.
- Select the LambdaTest host checkbox to enable the LambdaTest Device Cloud Environment panel.
-
Perform the actions listed in the following table:
Option Action Required LambdaTest host Enter the URL of the LambdaTest Cloud instance. User Name Enter the user name of your LambdaTest Cloud account. API key Enter the API key of your LambdaTest Cloud account to authenticate the connection.
Project Select the LambdaTest project from the drop-down list or enter an appropriate name for the project with which you can identify the test run on the LambdaTest Cloud dashboard. - Click Apply and Close.
-
Open the Web UI test for playback from the Test Navigator
pane.
The Test is displayed.
-
Click the Run Test
icon.
The Run Configuration dialog is displayed.
- Select a device on LambdaTest Cloud for the test playback from the Run Using drop-down list.
-
Click Next.
The Advanced playback options page is displayed.
- Select the Global steps delay in milliseconds checkbox and specify the duration of delay in milliseconds to set the delay between all the steps in the test.
-
Click Finish.
The test playback is started on the selected device.
Results
You ran the Web UI test on multiple mobile devices that are available on LambdaTest Cloud and the test results are displayed as a unified report in Test UI.
What to do next
- 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 that are in a slide-show format. To view the screen
captures, you can click the
icon.