Enabling Mozilla Firefox for Web UI testing

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

About this task

For Firefox v54 and later, you should install the new Firefox web extension. To get the Web UI extension for Firefox, navigate to default shared directory IBMIMShared of HCL DevOps Test UI. 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.firefox_version number\WebUIRecorderWebExtension/
And on a Linux computer, the directory could be as follows:
/opt/HCL/HCLIMShared/plugins/com.ibm.rational.test.rtw.webgui.browextension.firefox_version number/WebUIRecorderWebExtension
The webuirecorder_webext.xpi file is available in the WebUIRecorderWebExtension folder. You can use this extension file on Windows, on Linux and on Mac OS.

You can get the extension from the HCL FlexNet Operations Portal. The webuirecorder_webext.xpi file is available in the Firefox folder. You can use this extension file on Windows, on Linux and on Mac OS.

Procedure

  1. Navigate to the appropriate folder to select the Web UI browser extension for Firefox.
  2. In Firefox, click Tools > Add-ons and themes, and then click Extensions.
  3. Drag the appropriate extension file webuirecorderextension-windows.xpi , webuirecorderextension-linux.xpi or webuirecorder_webext.xpi to the list of extensions on the Firefox Extensions page.
  4. When prompted, select the extension, and click Install Now.

    Firefox displays a message indicating that the extension was installed successfully.

  5. 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-release profile of the browser (C:\Users\<username>\AppData\Local\Mozilla\Firefox\Profiles).
    2. Enable only the Test UI - Web UI extension and disable or remove the other Test UI extension, if installed.
    3. Go to Add ons and themes > Extensions > Manage Extension from the browser menu.
    4. Enable the following option that is listed for the Web UI extension:
      • Run in Private Windows
    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

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

To record a test on Mozilla® Firefox® browser 54 or later, you need to select a user profile that is associated to the extension plug-in. For details, see Recording a Web UI test.