Right-click somewhere in the editor and select Add Application from the context menu.
In the opened Add Tested Application wizard, do the following:
On the first page of the wizard, choose Mobile Web Application.
On the next page of the wizard, enter the URL of the web page to open in the mobile browser emulator.
Select the mobile browser to emulate. The browser profiles are configured in the project’s Virtual Browsers properties.
You can also specify command-line arguments for the emulator. See Specifying Additional Parameters for Mobile Browser Emulator.
Click Finish to close the wizard.
You can later change the emulator’s name and parameters in the TestedApps editor.
|Tip:||You can add several instances of the emulator with different browser profiles to be able to quickly open your tested web site in different mobile browsers.|
The mobile browser emulator in the Tested Applications collection serves as a shortcut for launching the emulator at design time. However, you should not use the Tested Applications items that correspond to the emulator in tests.
To launch the mobile browser emulator during test recording, use the corresponding item on the Recording toolbar.
To launch the emulator from tests, use the Run Virtual Browser or Virtual Browser Loop keyword test operation, or the
VirtualBrowsers.Item(browser_name).Run scripting method. For more information, see Launching Mobile Browser Emulator.