Enabling web browsers

To test the HTML applications in HCL DevOps Test UI (Test UI), 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.
    Restriction:
    • For Guest users in Internet Explorer, with the Protected mode ON, recording and playback of functional test scripts do not work as expected.
    • Recording on HTML dialogs that are embedded in other domains like Java, .NET and Windows is not supported. To perform actions on such embedded dialogs, edit the script manually using the getScreen().inputKeys() or getScreen.inputChars() API where required.
    • On 64-bit operating systems, recording and playback on 64-bit Internet Explorer 11.0 browsers that are embedded in 64-bit Java, .NET or Windows or other applications are not supported.
  • You must use 32-bit Test UI for testing 32-bit Mozilla Firefox, Google Chrome, Microsoft Edge Browsers. Similarly, you must use 64-bit Test UI for testing 64-bit Mozilla Firefox, Google Chrome, Microsoft Edge Browsers.

About this task

In Test UI, the automatic enablement check box 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 Test UI.

    The Enable Environments dialog is displayed.

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

      The Search for Web Browsers dialog 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.