VirtualBrowserInfo object corresponds to a browser profile that can be used by the mobile browser emulator.
VirtualBrowserInfo objects are contained in the
VirtualBrowsers collection and can be obtained using the following properties:
VirtualBrowserInfo object contains the browser profile information and provides methods for launching the mobile browser emulator with the given profile.
A license for TestComplete Web module
The Web Testing and Chrome Support plugins (they are part of the Web module)
Google Chrome 86
If you have a TestComplete version earlier than 12.42, your version of the SmartBear Test Extension will be incompatible with newer versions of the Chrome web browser. To test web applications in Chrome 86, you will have to upgrade your TestComplete to some later version. We recommend using version 14.71.
If you use a later version of Google Chrome, check whether a patch is available for it.
For details, see Requirements for Mobile Web Testing Using Emulator.
The code below opens a web site in the iPhone 7 browser emulator.
VirtualBrowsers.Item("Apple iPhone 7").Run("http://m.smartbear.com");
VirtualBrowsers.Item["Apple iPhone 7"].Run("http://m.smartbear.com");
Call VirtualBrowsers.Item("Apple iPhone 7").Run("http://m.smartbear.com")
VirtualBrowsers.Item['Apple iPhone 7'].Run('http://m.smartbear.com');
VirtualBrowsers["Item"]("Apple iPhone 7")["Run"]("http://m.smartbear.com");