Enabling Microsoft Edge for Web UI testing

You can record UI test for a web application by using Microsoft Edge browser in a running browser instance. You must first enable the Edge browser before you record UI tests by using the Edge browser.

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 Rational® Functional Tester.
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 Rational Functional Tester in the Search field and press Enter.
      The search results are displayed.
    6. Locate Rational Functional Tester, and then click Add to Chrome.
      A confirmation dialog is displayed.
    7. Click Add extension.
      The Rational® Functional Tester 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 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
    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 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\Microsoft\Edge\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 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.