Enabling Java environments
Before you begin
To enable Java environments, you must log on as an administrator. On Microsoft Windows 7 and Microsoft Vista operating systems, you must also run Rational Functional Tester using the Run as Administrator option.
Rational Functional Tester 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.
Procedure
Results
Enabling JVM:
When you run Rational Functional Tester for the first time, it automatically enables the JVM of your browser's Java plug-in so that HTML recording works properly. If you install a different JVM, you must rerun the enabler to enable it.
However, if you experience an error regarding the Java plug-in during HTML testing, or when trying to launch the Verification Point Comparator from the HTML log, you need to make sure your plug-in is configured properly. See Enabling the Java Plug-in of a Browser for instructions.
You do not have to use the Search button to add an environment. You can click the Add button instead in Step 2. This brings up the Add Java Environment dialog box, which you can use to locate the new Java environment. After you select it and click Add, the environment will then be added to the Java Environments list, and you follow steps 4 - 7 to enable or disable it. If you try to add a file that is not a Java environment, you will get an error and it won't be added to the list.
-
If your JRE is not enabled, you will be able to tell because the Recording Monitor will be blank when you try to record against a Java application. For this reason, leave the Recording Monitor in view while recording. If you see this symptom, you need to run the enabler.
-
To enable browsers for HTML testing, see Enabling Web Browsers.
-
You can test that your JRE is enabled properly by clicking the Test button in the enabler. This opens the JRE Tester, which reports the JRE version, JRE vendor, and whether the JRE is enabled successfully. Click OK to close the JRE Tester.
Upgrade Note: If you are upgrading Rational Functional Tester from earlier version versions, you might have to re-enable the Java environment. For more information, see upgrading from earlier versions of Rational Functional Tester topic.