Enable the Java plug-in of a browser

The Sun 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.

The JRE that is shipped with Functional Tester 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, install one before using Functional Tester. 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.


Related concepts

Verification Point Comparator

Browser enablement diagnostic tool

Related tasks

Enable web browsers

Browser enablement diagnostic tool

Configure browsers for testing

Related reference

Web browsers tab of the Enable Environments dialog box

Search for Web Browsers dialog box

Edit Test Object Appearance dialog box

Logging page

Tips and tricks for functional testing HTML applications

Local and agent computers


Configure your plug-in


About this task

First you need to make sure your Sun Java plug-in is configured properly on your system.


Procedure

  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.


Re-enable your environments


About this task

Now re-enable all your Java environments in Functional Tester.


Procedure

  1. Disable any currently enabled environments. In Functional Tester, 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 drive(s).

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

    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 drive or root directory to search.

  5. After choosing one of the search mechanisms, click the Search button. When the search is complete, Functional Tester lists the JREs in the Java Environments list. The list includes the full path name of each environment.

  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. The selected environments will be enabled for Java testing. The enabled environments will be indicated in parentheses after each JRE name in the list.

  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.

+

Search Tips   |   Advanced Search