Enabling Google Chrome for Web UI testing

Before you can record a Web UI test on a web application that is already running in the Chrome browser, you must install the Google Chrome extension for Web UI testing.

About this task

You can get the extension from the Chrome Web Store. Alternatively, the extension is available with your HCL OneTest UI installation.

Procedure

  1. Install the extension from the Chrome Web Store.
    1. From your Chrome browser, navigate to the Extensions page on the Chrome Web Store by typing https://chrome.google.com/webstore/category/extensions.
    2. In the search field, type Test Workbench Extension and press Enter.
    3. In the search results, locate the Test Workbench Extension for Google Chrome and click Add to Chrome.
    4. In the Confirm New Extension dialog box, click Add.
    5. Within Chrome, open the Chrome browser extension page by clicking the Customize and control Google Chrome button and selecting More Tools > Extensions. Verify that the extension was installed.
    6. If necessary, click Enabled.
  2. Alternatively, use the extension that is packaged with the product.

    To install the extension:

    1. In Chrome, open the Chrome browser extension page by clicking More Tools > Extensions.
    2. Select the Developer Mode check box.
    3. Click the Load unpacked extension button.
    4. Navigate to the WebUIExtension folder within the default shared directory of HCL OneTest UI . 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
    5. Select the WebUIExtension folder and click OK to install the extension.

What to do next

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.