Enabling Google Chrome for Web UI testing

You must install the Google Chrome extension for Web UI testing, when you want to record web applications that run in the Chrome browser.

About this task

You can use the extension that is available with your Rational® Functional Tester installation or from the Chrome Web Store.

Procedure

  1. Select from an option to install the Google Chrome extension for Web UI testing:
    • To install the extension from the installation package, go to Step 2.
    • To install the extension from the Chrome Web Store, go to Step 3.
  2. Perform the following steps to install the use the Google Chrome extension for Web UI testing that is packaged with the product:
    1. Open the Google Chrome browser.
    2. Click More Tools > Extensions to open the Chrome browser extension page.
    3. Select the Developer Mode option.
    4. Select the Load unpacked extension option.
    5. Go to the WebUIExtension folder within the default shared directory of IBM® Rational® Functional Tester.
      For example, on a Windows computer, the directory could be as follows:
      C:\Program Files\IBM\IBMIMShared\plugins\com.ibm.rational.test.rtw.webgui.browextension.chrome_version_id\ChromeExtension
    6. Select the WebUIExtension folder, and then click OK.
  3. Perform the following steps to install the use the Google Chrome extension for Web UI testing from the Chrome Web Store:
    1. Open the Google Chrome browser.
    2. Enter chrome.google.com/webstore/category/extensions in the URL field, and then press Enter or click Chrome web store.
    3. Enter Rational Functional Tester in the Search field.
    4. Press Enter.

      The available extensions are listed.

    5. Select the Rational® Functional Tester - Web UI extension, and then click Add to Chrome.

      The Confirm New Extension dialog is displayed.

    6. Click Add extension.
  4. Perform the following steps if you want to record tests in the private mode of a browser:
    Note: If you want to record any test in the private mode, you must configure the test by selecting the private mode option for the browser in the Rational® Functional Tester UI.
    1. Check and ensure that you have added the Rational® Functional Tester - Web UI extension to the default profile of the browser (C:\Users\<username>\AppData\Local\Google\Chrome\User Data\Default).
    2. Enable only the Rational® Functional Tester - Web UI extension and disable or remove the other Rational® Functional Tester extension, if installed.
    3. Go to Extensions > Manage Extension in the browser toolbar.
    4. Select the following options that are listed for the Web UI extension:
      • Allow in Incognito
      • Allow access to file URLs
    5. Close all open browsers. You can also check and end any browser processes that might be running in the background.

What to do next

Verify that the Google Chrome extension for Web UI testing is installed by performing the following actions:
  • Open the Chrome browser, and then open the Chrome browser extension page by clicking Customize and control Google Chrome > More Tools > Extensions. You can find that the extension is installed.

Record a test using an existing instance of the Chrome browser. See Recording a Web UI test by using a running browser instance for details.