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 IBM® Rational® Functional Tester 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, IBM® UrbanCode Deploy, and IBM® Rational® Quality Manager.
Note:
  • When you set a specific profile for the Firefox browser, Rational® Functional Tester 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. Click Apply and Close.

Results

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