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

You can set a specific browser profile path for the following browsers:
  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Opera
When you set the user profile for a browser, the user profile is used when you run the test from the workbench, command line, HCL DevOps Deploy (Deploy), and IBM® Engineering Test Management.
Note:
  • 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

  1. Click Window > Preferences > Test > Test Execution > UI Test Playback.
  2. Click the Browser tab.
  3. Select the checkbox of the browser for which you want to set the profile path.

    The Browse button for the browser is enabled.

  4. Click Browse to browse and select the user profile for the browser.
  5. 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.
  6. Click Apply and Close.

Results

You have set the user profile path for the selected browser.