Enabling web browsers

To use Rational® Functional Tester to test HTML applications that run on Internet Explorer you need not manually enable the browser. It is automatically enabled when you begin recording a script. If you use Mozilla Firefox or Google Chrome, you must enable the browser manually.

Before you begin

From Rational Functional Tester version 8.2.2 onwards, 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.
Note: Enabling 64 bit JRE on 64 bit Linux causes the error "Wrong ELF class: ELFCLASS32' for libftsys.so.. Currently, Rational Functional Tester does not support 64 bit JRE on Linux.

Rational Functional Tester does not automatically enable Google Chrome browsers. If you use a Google Chrome browser, you must enable it manually. For instructions, see the related task Enabling Google Chrome browsers.

If required, you can manually enable Internet Explorer or Mozilla Firefox browsers as described in the following procedure.

To enable browsers for testing, you must log on as an administrator. On Microsoft Windows 7 or later, and on Microsoft Vista operating systems, you must also run Rational Functional Tester by using the Run as Administrator option.

Note: Rational Functional Tester versions 8.5.1 and later support testing on any version of Mozilla Firefox 18.0 and later. When you enable Firefox version 18.0 and later as a test environment, an extension is installed.
Important: If you enabled Mozilla Firefox version 18 or later or Google Chrome browser for IBM® Rational Functional Tester, the latest Java update must be associated with the browser. If not done, security messages prompt up when you open the browser and Java will be blocked.

Procedure

  1. Click Configure > Enable Environments for Testing from Rational Functional Tester to invoke the Enable Environments dialog box (the enabler).
  2. Click the Web Browsers tab.
    1. Click Search. The Search for Web Browsers dialog box opens.
    2. Search for the browser by using any of the following search method:
      • Select Search All to let the enabler locate all the browsers on your system. Functional Tester scans all of your hard disk drives or partitions and lists the browsers in the Web Browsers list.
      • Select Search In to browse to a specific disk drive or root directory to search.
      Note: You must not use the Search All option to find browsers on Linux or UNIX systems. Instead, use the Search In option and browse for it.
    3. Click the Search button.
  3. Select the browsers that you want to enable by clicking them in the Web Browsers list. You can select multiple browsers by using the Ctrl key while you are selecting. Click the Select All button if you want to enable all of them.
  4. Click Enable. The selected browser or browsers are enabled for HTML testing. The enabled browsers will be indicated in parentheses after each browser name in the list.
    Note: In Rational Functional Tester version 8.5.1 and later, to enable Firefox, JRE associated with Firefox must be enabled. Once Firefox is enabled, the browser is launched when the Test button is clicked. Users are then prompted to install a Firefox extension for Rational Functional Tester support. Once the extension is installed, Firefox must be restarted. To ensure that the extension is enabled, in Firefox select Tools > Add-ons > Extensions and verify that the extension is enabled.
  5. Select a browser to be the default and click the Set as Default button.
  6. Click Close.
  7. Test that your browser is enabled properly by clicking the Test button to run the Browser Enablement Diagnostic tool.

Results

The browser is enabled for testing.

Notes:
  • If the enabler fails to find a browser in the registry or on your system, you can click the Add button. Clicking the Add button brings up the Add Browser dialog box, which you can use to locate the browser. After you select it and click Add, the browser will then be added to the Web Browsers list in the enabler, and you follow the same steps to enable or disable it. If you try to add a file that is not a browser, you see an error and it is not added to the list.
  • If your browser is not enabled, the Recording Monitor is blank when you try to record against an HTML application. For this reason, leave the Recording Monitor in view while recording. If you see this symptom, you must run the enabler.
  • To test applets in HTML, you must enable your JREs. To enable JREs for Java™ testing, see the Enabling Java environments topic.
  • The first time that you run Rational Functional Tester, 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 with the Java plug-in during HTML testing, or when you are trying to launch the Verification Point Comparator from the HTML log, you must make sure your plug-in is configured properly. See Enabling the Java plug-in of a browser topic for instructions.
  • If you are using Firefox and you must manually enable the browser, use the Enable button as described. When you select a browser and click Enable, it launches the browser and you are prompted to click in the browser to enable it. Click the link, and then click OK if you see a message box.

What to do next

You can test that your browser is enabled properly by clicking the Test button. Clicking the Test button opens the Browser Enablement Diagnostic Tool. If you suspect your browser is not enabled properly, run this tool and follow the instructions that it gives to solve the problem.

Feedback