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
-
Configure your plugin to make sure your Oracle Java™ plug-in is configured
properly on your system.
-
Open your Windows® Control Panel.
-
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.
-
In the Java™ Plug-in Control Panel, click the Browser tab.
-
Select Firefox and Microsoft® Internet Explorer.
-
Click Apply.
-
Close the Java™ Plug-in Control Panel.
-
Close the Windows® Control Panel.
-
Re-enable all your Java™ environments in HCL OneTest™
UI.
-
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.
-
Click the Select All button beneath the Java™ Environments list to select
all current Java™ environments.
-
Click Disable to disable them.
-
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.
-
After choosing one of the search mechanisms, click the Search
button.
-
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.
-
Click Enable.
-
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.