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 OneTest 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

If you are using Firefox v54 and later, you should install the new Firefox web extension. There are Web UI extensions for the different versions of Firefox: for Firefox until v53, and from Firefox v54.

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 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 the HCL OneTest UI UI.
    1. Check and ensure that you have added the HCL OneTest UI - Web UI extension to the default-release profile of the browser (C:\Users\<username>\AppData\Local\Mozilla\Firefox\Profiles).
    2. Enable only the HCL OneTest UI - Web UI extension and disable or remove the other HCL OneTest 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.