Web Tab (Record and Run Settings Dialog Box)

This tab enables you to set options that instruct UFT which applications to open when you begin to record or run your test.

You can instruct UFT to open and record on applications from more than one environment. You can also create steps on more than one browser tab, if your browser supports tabbed browsing.

To access

Select Record > Record and Run Settings and select the Web tab.

Important information
  • You can also use special, predefined environment variables to specify the applications or browsers you want to use for your test. For details, see Environment variables for record and run settings.
  • If you have the Add-ons Manager enabled, if you set Firefox to open to a specific URL, Firefox does not open to the specified URL at the beginning of a recording or run session.

    Workaround: Disable the Add-ons Manager before using Firefox.

  • Register your browser control application (using the Register Browser Control Utility) so that UFT recognizes your Web object when recording or running tests. For details, see Register Browser Control Utility.
Relevant tasks

User interface elements are described below:

UI Element Description
Record and run on any open browser

Record and run your test on any open (supported) Web browser installed locally.

You must open the Web browser after you open UFT.

To record and run tests on an application with embedded Web browser controls, select Record and run tests on any open Web browser .

You can instruct UFT to ignore ALM browsers or other browsers that are open to a specified URL or have a specific title. For details, see Web > General Pane (Options Dialog Box).

Open the following when recording or running:

Define whether to use a local browser, or to connect to Mobile Center.

For details about mobile testing or Mobile browser testing, including testing using the Chrome Emulator, see the Mobile Center Help.

Define the URL to open, and the browser to use.

Parameterize the runtime web settings using:

Enable to use parameters for the browser, device, and manufacturer for a given test run.

You specify the following as needed:

  • Browser Parameter: The value entered for the parameter is the same as the environment variables for the browser types.
  • Model Parameter: The model of the device on which you are running the test.

    If you are using the Chrome Emulator, the value should be the <Name> attribute from the EmulatedDevices.xml file, located in the <UFT installation folder>/bin folder.

  • Manufacturer Parameter: The manufacturer of the device on which you want to run the test.

UFT automatically adds columns to the Global tab of the Data pane or a test parameter, depending on the option selected.

Remote Connection Details

Displayed if you select Apple Safari (on remote Mac computer)

Enter the connection details for the remote Mac computer.

Default port: 8822

Values defined for the following environment variables override any values specified here during a run session:

  • REMOTE_HOST
  • USE_SSL
Do not record and run on open browsers

Instructs UFT not to record or run tests on any browsers that are already open prior to the start of the record or run session.

Selecting this option also prevents you from viewing the properties of these browsers using the Object Spy.

Close the browser when the test closes

Instructs UFT to close the browser window when the test closes.