TestedApps.AddVirtualBrowser Method

Applies to TestComplete 15.70, last modified on December 17, 2024

Description

The TestedApps.AddVirtualBrowser method adds the mobile browser emulator to the project’s tested applications collection.

This method 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.

Declaration

TestedApps.AddVirtualBrowser(VirtualBrowserName)

VirtualBrowserName [in]    Required    String    
Result Integer

Applies To

The method is applied to the following object:

Parameters

The method has the following parameter:

VirtualBrowserName

The name of the browser profile to emulate. For example, "Apple iPad". For possible values, see the project’s Virtual Browsers properties.

Result Value

The index (from 0) of the added application in the list of tested applications. You can use this index to access the corresponding VirtualBrowserTestedApp object by using the TestedApps.Items(Index) property.

See Also

TestedApps Object
VirtualBrowserTestedApp Object
Adding Tested Applications

Highlight search results