TestedApps.AddVirtualBrowser Method

Applies to TestComplete 15.63, last modified on April 10, 2024


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.



VirtualBrowserName [in]    Required    String    
Result Integer

Applies To

The method is applied to the following object:


The method has the following parameter:


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