Enabling web browsers

To test the HTML applications in Rational® Functional Tester, you must enable web browsers. You can then record and play back tests by using the browsers that you enabled.

Before you begin

  • You must have installed either 32-bit Java or 64-bit Java on your computer based on the web browser that you want to enable. See Enabling Java environments.
  • You must have installed the 32-bit or 64-bit Oracle JRE to enable the Internet Explorer browser.

About this task

In Rational® Functional Tester, the automatic enablement checkbox is selected, which is the default option. When this option is enabled, the testing environment such as web browsers, the associated Java™ Runtime Environments (JREs), Java plug-ins, and Eclipse platforms are enabled automatically. Therefore, you can directly record the functional test scripts without enabling the testing environment manually. The automatic enablement of the testing environment takes place under certain conditions and limitations. For more information about the conditions and limitations on the automatic enablement, see the related links section.

Procedure

  1. Click Configure > Enable Environments for Testing in Rational® Functional Tester.

    The Enable Environments dialog box is displayed.

  2. Click the Web Browsers tab and perform the following steps:
    1. Click Search.

      The Search for Web Browsers dialog box is displayed.

    2. Search for the browser by using any of the following search methods:
      • Select Search All to find and list all the web browsers that are installed on your computer.
        Note: You must not use the Search All option to find the web browsers on a Linux or UNIX computer. Instead, you must use the Search In option and browse for the web browsers.
      • Select Search In to browse for all the web browsers that are installed in a specific directory.
    3. Click Search.
  3. Select the web browsers that you want to enable from the Web Browsers list.
    Note: You can select multiple browsers by using the Ctrl key while you are selecting. Click Select All if you want to enable all of the browsers.
  4. Click Enable.
    The word “enabled" is displayed along with the name of the web browser that is enabled.
  5. Select a browser and then click Set as Default to set it as the default web browser.
  6. Click Close.
  7. Click Test to run the Browser Enablement Diagnostic Tool and verify whether the web browser is enabled correctly.

Results

The selected web browsers are enabled for testing the HTML applications.

What to do next

You can play back the Web UI tests by using the browser that you enabled.