Desktop web testing parameter values

Parameterize web environment values for each test iteration to data drive your tests during runtime, testing how your application works in different environments.

Supported browser details

Use the following parameters to data drive your browser values:

Note: For details about data driving your web tests on mobile devices, see Mobile parameter values.

BROWSER

Defines the browser application to open. For example, Microsoft Internet Explorer, Google Chrome, or Mozilla Firefox.

Possible values include:

IE Opens Internet Explorer.
IE64 Opens a 64-bit version of Internet Explorer.
CHROME Opens Google Chrome.
CHROME_EMULATOR Opens the Chrome emulator with the specified device as entered in the EmulatedDevices.xml file (found in the <UFT_One_installdir>/bin folder)
CHROME_HEADLESS

Opens the locally installed version of Headless Chrome, supported for Chrome versions 60 and higher.

CHROMIUMEDGE

Opens the stable version of Microsoft Edge (Chromium-based), if installed. Otherwise, opens the beta version, if installed.

UFT One 24.2 and later: This value is supported for backward compatibility only. Use EDGE instead.

FIREFOX Opens Mozilla Firefox.
FIREFOX64 Opens the latest version of 64-bit Mozilla Firefox that is both installed on the computer and supported by UFT One.
SAFARI Opens Safari on the remote Mac computer connected to UFT One (defined in the Web tab of the Record and Run Settings dialog box or in the REMOTE_HOST environment variable).
EDGE

UFT One 24.2 are later: Opens the locally installed version of Microsoft Edge (Chromium-based).

UFT One 23.4 and earlier: Opens the locally installed version of Microsoft Edge Legacy loaded with the Edge Agent for UFT.

PHANTOMJS Runs the test on the locally installed version of the PhantomJS toolkit.

Browser_version

Defines one of the following:

  • A browser version number.

  • latest, or leave this value blank to use the latest version available.

The Browser_version parameter is not relevant for running Web tests on mobile devices.

URL_ENV

The Web address to display in the browser.

Back to top

Supported connection details

Use the following parameters to data drive your connection details.

REMOTE_HOST

The host name or IP address of the Mac computer to which UFT One connects.

By default, UFT One connects to the Mac using port 8822. To use a different port, append the port number to the host name: <hostname>:<port number>. For more details, see Connect to a remote Mac computer.

Note: Configure the same port number in the Port option in the OpenText UFT Agent preferences.

See Install and configure the OpenText UFT Agent Safari extension on Mac.

The REMOTE_HOST parameter is relevant only when running tests and components on the Apple Safari browser.

USE_SSL

Specifies whether to secure the connection to the Mac computer by using SSL for the connection.

Possible values:

  • TRUE

  • FALSE (Default)

The USE_SSL parameter is relevant only when running tests and components on the Apple Safari browser.

Back to top

See also: