Add Virtual Browser Wizard

Applies to TestComplete 15.73, last modified on March 04, 2025

The Add Virtual Browser wizard lets you create a mobile browser profile (a combination of the user agent and browser screen size) to be used in mobile web tests. The dialog appears when you click the Add button in the Open Applications | Web Testing | Virtual Browsers category of the project properties or of the default project properties.

The wizard includes the following pages:

Specify the Browser User Agent

On this page, enter the user agent string to identify the browser. You can find the lists of mobile user agent strings here:

http://www.zytrax.com/tech/web/mobile_ids.html

https://udger.com/resources/ua-list#Mobile Browser

Specify the Browser Size in CSS Pixels

On this page, enter the width and height of the mobile browser screen in CSS pixels.

In most cases, the browser screen size is the same as the device’s physical resolution. The exception is devices with high pixel density, such as Apple devices with Retina displays. On these devices, the CSS pixel resolution is less than the physical screen resolution.

You can find many mobile browser screen sizes at http://viewportsizes.com.

Specify the screen width and height according to the needed orientation – portrait or landscape.

Browser screen orientations
Specify a Name for the Virtual Browser

On this page, enter the browser name that will be used in tests. Examples: Kindle Fire HD, iPad landscape, Android 4.2 - Nexus 4.

For more information, see Creating Mobile Browser Profiles.

See Also

Testing Mobile Web Applications Using Emulator - Overview
Creating Mobile Browser Profiles
Project Properties - Virtual Browsers Options

Highlight search results