TestedAppVirtualWebParams Object

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

Description

The TestedAppVirtualWebParams object lets you get and set properties of the mobile browser emulator added to the Tested Applications collection. To obtain the TestedAppVirtualWebParams object in tests, use one of the following properties:

The TestedAppVirtualWebParams object is provided for backward compatibility only. It is not intended for use in tests.

To launch the mobile browser emulator in tests, use the Run Virtual Browser keyword test operation or the VirtualBrowsers.Item(browser_name).Run scripting method.

Remarks

The TestedApps.AppName.Params property and the TestedAppVirtualWebParams object are available for the mobile browser emulator only if the Use special runtime object setting is disabled in the TestedApps editor.

Property List

Name Description
BrowserArguments String. Read-write. The command-line arguments for the Chrome mobile emulator. Unlike CommandLineParameters, it does not contain a URL.
BrowserExecutable String. Read-write. The fully-qualified path to Google Chrome.
CommandLineParameters String. Read-write. The command-line arguments for the Chrome mobile emulator.
PageAddress String. Read-write. The URL to open in the emulator.
ScreenHeight Integer. Read-only. The screen height (in CSS pixels) of the emulated mobile browser that is specified by the VirtualBrowserName property.
ScreenWidth Integer. Read-only. The screen width (in CSS pixels) of the emulated mobile browser that is specified by the VirtualBrowserName property.
UserAgent String. Read-only. The user agent of the emulated mobile browser that is specified by the VirtualBrowserName property.
VirtualBrowserName String. Read-write. The mobile browser to emulate.

Method List

Name Description
Activate Not implemented.
IsActive Not implemented. Returns True.

See Also

Editing Web Application Parameters
TestedAppParams Object
About Tested Applications

Highlight search results