Enabling Microsoft Edge for Web UI testing

Before you can record a Web UI test of a web application that is already running in the Microsoft Edge browser, you must first install the HCL DevOps Test UI Web UI browser extension for Edge. Also, if you want to record a Web UI test in the private mode of Edge, you must install and configure the browser extension.

About this task

For enabling the Edge browser, you must install the extension from the Chrome Web Store. Alternatively, you can also use the extension that is bundled along with Test UI.
Note: You must preferably install the extension from the Chrome Web Store and use the extension bundled with the product only when you are unable to install from the Chrome Web Store.

Procedure

  1. Install the extension from the Chrome Web Store by performing the following steps:
    1. Open the Microsoft Edge browser.
    2. Click Setting and more icon and then select Extensions. The Extensions page is displayed.
    3. Turn on the Allow extensions from other stores toggle button, if it is not enabled.
    4. Click the Chrome Web Store link.

      The Chrome Web Store page is displayed.

    5. Enter DevOps Test UI in the Search field and press Enter.
      The search results are displayed.
    6. Select the DevOps Test UI - Web UI extension, and then click Add to Chrome.
      A confirmation dialog is displayed.
    7. Click Add extension.
      The Test UI extension is added to the Edge browser.
      Note: To verify if the extension is successfully installed on the Edge browser, click Extensions on the Edge browser. The added extension is listed the Installed Extensions section. You can enable or disable the installed extension.
  2. Alternatively, use the extension that is packaged with the product.

    To install the extension:

    1. Open the Edge 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 DevOps Test UI or the location where you downloaded and saved the extension.. For example, on a Windows computer, the directory could be as follows:
      C:\Program Files\HCL\HCLIMShared\plugins\com.ibm.rational.test.rtw.webgui.browextension.chrome_version_id\ChromeExtension
    5. Select the WebUIExtension folder and click OK to install the extension.
  3. 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 Test UI.
    1. Check and ensure that you have added the Test UI - Web UI extension to the default profile of the browser (C:\Users\<username>\AppData\Local\Microsoft\Edge\User Data\Default).
    2. Enable only the Test UI - Web UI extension and disable or remove the other Test UI 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 InPrivate
      • 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

You can record a test using an existing instance of the Edge browser. See Recording a Web UI test by using a running browser instance for details.