Setting a specific browser profile for the playback
When you play back a Web UI test in a browser, the test is played back in the temporary profile of the browser. You can set a specific user profile, which includes the extensions and settings to use for the test, for the browser in HCL DevOps Test UI (Test UI) to play back the Web UI test.
About this task
- Google Chrome
- Mozilla Firefox
- Microsoft Edge
- Opera
- When you set a specific profile for the Firefox browser, Test UI creates a copy of the profile that you set and the tests are played back in the profile copy.
- If the test script modifies the Firefox browser profile during the test run, the profile goes back to the default state after the run completes. The Chrome browser persists the changes that occurred during the test run. The difference in behavior is due to the way each browser manages a profile.
Procedure
- Click .
- Click the Browser tab.
-
Select the checkbox of the browser for which you want to set
the profile path.
The Browse button for the browser is enabled.
Note: The default directory of a user profile might not work because of security-related changes in Chrome. To work around this issue, you must create a subdirectory inside the profile path and then use the path of the newly created subdirectory to set the profile.For example, create a subdirectory path1 inside the profile path C:\Users\user1\AppData\Local\Google\Chrome\user_data, and then use C:\Users\user1\AppData\Local\Google\Chrome\user_data\path1 to set the profile.
- Click Browse to browse and select the user profile for the browser.
- Optional:
Click the Report tab, and then select
the Launch report after playback
option if you selected the default profile of the default
browser in the previous step.
As a result, the unified report is displayed after the playback is complete in the default profile of the default browser.
- Click Apply and Close.