Enabling the Java plug-in of a browser

The Oracle Java plug-in of your browser(s) must be enabled in order for some applets to be tested, and for the View Results link that launches the Verification Point Comparator from the HTML log to work properly. If you get an error regarding the plug-in during HTML testing, or when trying to launch the Comparator, use the following steps to fix the problem.

About this task

HCL OneTest UI automatically enables the environments for functional testing. As a result, you can directly record functional test scripts without enabling components manually. The automatic enablement takes place under certain conditions and has limitations. For more information about the conditions and limitations, see Automatically enabled environment for functional testing.

Note:
  • The JRE that is shipped with HCL OneTest UI and is set as the default, is not configured with the browser. If you do not have another JRE on your system that includes a browser plug-in, you must install one before using HCL OneTest UI. Download a version of J2SE that contains a JRE and a browser plug-in. You need a simple Java runtime and not a JDK or Java desktop. After installing the JRE, follow the steps below to enable the plug-in.
  • Java plugin can be enabled in Java 8 and earlier but it is not supported in Java 9 and later.

Procedure

  1. Configure your plugin to make sure your Oracle Java plug-in is configured properly on your system.
    1. Open your Windows® Control Panel.
    2. Double-click the Java Plug-in icon to open the Java Plug-in Control Panel.

      If you have more than one plug-in listed, use the one that is version 1.4 or later.

    3. In the Java Plug-in Control Panel, click the Browser tab.
    4. Select Firefox and Microsoft® Internet Explorer.
    5. Click Apply.
    6. Close the Java Plug-in Control Panel.
    7. Close the Windows® Control Panel.
  2. Re-enable all your Java environments in HCL OneTest UI.
    1. Disable any currently enabled environments. In HCL OneTest UI, click Configure > Enable Environments for Testing to open the Enable Environments dialog box (the enabler). Click the Java Environments tab.
    2. Click the Select All button beneath the Java Environments list to select all current Java environments.
    3. Click Disable to disable them.
    4. Click Search. The Search for Java Environments dialog box opens. Select one of the following search mechanisms.

      Quick Search can only be used on Windows® systems. It searches the Windows® registry for the Java environments, and is quicker than searching your hard disk drive(s).

      Search All Drives scans all of your hard disk drives or partitions to locate all the Java environments on your system.

      Note: You should not use the Search All Drives option to find JREs on Linux® or UNIX® systems. Instead use the Search in option and browse for the JRE.

      Select Search in to browse to a specific disk drive or root directory to search.

    5. After choosing one of the search mechanisms, click the Search button.
    6. Select the environments you want to enable by clicking on them in the Java Environments list. Click the Select All button beneath the list to enable all of them.
    7. Click Enable.
    8. If you want to change the default JRE, select your preferred default, and click the Set as Default button.

      Note: You can test that your browser plug-in is enabled properly by clicking the Test button in the Web Browsers tab of the enabler. This opens the Browser Enablement Diagnostic Tool. If you suspect your browser is not enabled properly, run the diagnostic tool and follow the instructions it gives to solve the problem.