RdpResolution Property

Supported in UFT One 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, UFT One 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 UFT One 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