The Set Virtual Browser Orientation operation switches the mobile browser emulator to the portrait or landscape mode.
The license for TesCcomplete Web module.
The Web Testing and Chrome Support plugins (they are part of the Web module).
Google Chrome 95.
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 95, you will have to upgrade your TestComplete to some later version. We recommend using version 15.10.
If you use a later version of Google Chrome, check whether a patch is available for it.
The operation does not return any value.
The operation cannot have child operations.
Select the desired orientation - Landscape or Portrait.
The operation logs a message if it is successful and a warning if the mobile browser emulator already has the specified orientation.
The default orientation is determined by the Screen Width and Screen Height properties of the browser profile in Project Properties | Open Applications | Web Testing | Virtual Browsers (see Project Properties - Virtual Browsers Options).