Add (Edit) Browser Loop Item Wizard

Applies to TestComplete 15.47, last modified on January 20, 2023

This wizard assists you in adding or modifying the list of browsers affected by the Browser Loop keyword test operation.

The wizard is called when you click the Add or Change button on the Select Browsers to Iterate Through page in the Operation Parameters dialog.

The wizard includes the following pages:

Select Browser

On this page, you can choose one of the supported browsers that the operation will launch.

Typically, you choose only the browser name. The operation will launch the browser’s supported version that it will find on the computer where the test will run.

If you want to specify certain browser version (for instance, if you need a specific version or a 32-bit or 64-bit edition), select Parameterized and click Next. You will be able to specify the version details on the next page of the wizard.

Browser Selection Parameters

This page is shown if you selected Parameterized on the “Select Browser” page of the wizard. It contains the following parameters:

Browser

Required. A string or integer value that specifies the browser to be launched. You can either choose a browser from the drop-down list or specify a constant, test parameter, project variable or code expression that returns one of the following values:

String Value Constant Integer Value
Internet Explorer btIExplorer -1
Firefox btFirefox -2
Chrome btChrome -3
Edge btEdge -6

Version

Optional. Specifies the browser version you would like to use.

You can specify the version in various numeric formats: major version only, major + minor version, major + minor + build number. Literal characters are not taken into account. Below are some examples that are valid for Internet Explorer 11:

  • 11
  • 11.0
  • 11.0.165
  • 11.535.18362

It is recommended that only the major version be specified. When specifying a minor version and a build number, check whether you have entered the correct values. A misprint will cause the operation to fail, as it will not be able to find the specified browser on your computer.

Platform

Specifies which browser version you would like to run: a 32-bit or a 64-bit one. You can either choose the platform from the drop-down list or specify a constant, test parameter, project variable or code expression that returns one of the following values:

Constant Integer Value Description
pX86 0 32-bit version of the browser.
pX64 1 64-bit version of the browser.
pAny -1 Any available version of the browser.
If you have both 32- and 64-bit versions on your computer, the 32-bit version will be used.

See Also

Browser Loop Operation

Highlight search results