LogonMode Property

Applies to TestComplete 14.10, last modified on June 5, 2019

Description

The LogonMode property specifies the login mode of the host (see the Login Mode property of the host). The login mode determines how the user session will be opened on the remote computer.

Declaration

HostObj.LogonMode

Read-Write Property Integer
HostObj An expression, variable or parameter that specifies a reference to a Host object

Applies To

The property is applied to the following object:

Property Value

An integer value that stands for the login mode. The following values are available:

Constant Name Constant Value Description
lmManual 0 Manual. TestComplete will not open a user session on the given host. You have to log on to the remote host and open a user session manually.
lmRDC 1 Automatic (RDP Session). TestComplete automatically opens a user session on the given host. The host remains locked.
lmConsole 2 Automatic (Console Session). TestComplete automatically opens a user session on the given host. The host remains unlocked.

See Also

Distributed Testing
Host Object
Opening User Sessions on Remote Computers

Highlight search results