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, or when running tests in SRF, see Mobile parameter values and SRF 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 installation folder>/bin folder)
CHROME_HEADLESS

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

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.
SAFARI Opens Safari on the remote Mac computer connected to UFT (defined in the Web tab of the Record and Run Settings dialog box or in the REMOTE_HOST environment variable).
EDGE Opens the locally installed version of Microsoft Edge loaded with the Edge Agent for Functional Testing.
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 connects.

By default, UFT connects to the Mac using port 8822. To use a different port, append the port number to the host name: <hostname>:<port number>.

Make sure to configure the same port number on the Mac, in the UFT port option in the UFT Connection Agent preferences.

For more details, see Connect to a remote Mac computer.

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: