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.
Defines the browser application to open. For example, Microsoft Internet Explorer, Google Chrome, or Mozilla Firefox.
Possible values include:
|Opens Internet Explorer.
|Opens a 64-bit version of Internet Explorer.
|Opens Google Chrome.
|Opens the Chrome emulator with the specified device as entered in the EmulatedDevices.xml file (found in the <UFT One installation folder>/bin folder)
Opens the locally installed version of Headless Chrome, supported for Chrome versions 60 and higher.
Opens the stable version of Microsoft Chromium Edge, if installed. Otherwise, opens the beta version, if installed.
|Opens Mozilla Firefox.
|Opens the latest version of 64-bit Mozilla Firefox that is both installed on the computer and supported by UFT One.
|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).
Opens the locally installed version of Microsoft Edge Legacy loaded with the Edge Agent for UFT.
|Runs the test on the locally installed version of the PhantomJS toolkit.
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.
The Web address to display in the browser.
Supported connection details
Use the following parameters to data drive your connection details.
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: Make sure to configure the same port number on the Mac.
UFT Oneversions 2022 and later: Configure the port number in the Port option in the Micro Focus UFT Agent preferences.
UFT One versions 2021 R1 and earlier: Configure the port number in the UFT port option in the UFT Connection Agent preferences.
The REMOTE_HOST parameter is relevant only when running tests and components on the Apple Safari browser.
Specifies whether to secure the connection to the Mac computer by using SSL for the connection.
The USE_SSL parameter is relevant only when running tests and components on the Apple Safari browser.