RdpResolution Property

Supported in versions 2021 R1 and later.

Description

Enables you to specify the resolution on the remote computer after an RDP session is disconnected from the remote computer.

Note: If the resolution you set is not supported by the remote computer, OpenText Functional Testing chooses the closest value after calculating the ratio of resolution.

Property type

Read-write property

Syntax

Visual Basic
Public Property RdpResolution As String

Example

Copy code
' Set run options
qtApp.Options.Run.EnableRdp = True
qtApp.Options.Run.RdpUserName = "xx"
qtApp.Options.Run.RdpPasswordEncrypted = "xx"
qtApp.Options.Run.RdpResolution = "1920*1080"

See Also