BrowserArguments Property

Applies to TestComplete 14.71, last modified on April 22, 2021

Description

Use this property to read or specify any additional command-line arguments passed to the browser.

Declaration

ProgObj.BrowserArguments

Read-Write Property String
ProgObj An expression, variable or parameter that specifies a reference to one of the objects listed in the Applies To section

Applies To

The property is applied to the following objects:

Property Value

A string specifying the browser’s additional command-line arguments.

Remarks

  • Tested applications of the Web type are obsolete and are supported for backward compatibility only. To launch a web browser from tests, use the Run Browser keyword test operation or the Browsers.Item(...).Run scripting method.
  • Web browsers typically accept URLs of pages to be opened among their command-line arguments. For tested Web applications, page URLs are specified via the PageAddress property, whereas the rest of the command-line arguments should be set or read via the BrowserArguments property. To obtain the entire command line passed to the browser, you can use the CommandLineParameters property.

  • If you assign a value to this property, TestComplete will treat your project as modified. So, you will need to save or cancel changes when closing the project. The specified value will be displayed in the TestedApps editor.

See Also

Default Web Testing
Run Modes and Parameters
Editing Web Application Parameters
About Tested Applications
PageAddress Property
CommandLineParameters Property

Highlight search results