LogonMode Property

Applies to TestComplete 15.47, last modified on January 20, 2023
The Network Suite functionality is deprecated. We don’t recommend using it for distributed testing. Consider using a CI/CD system for managing distributed tests. See Migrating Distributed Tests to CI/CD Systems for details. In case you need to run web tests on multiple environments in parallel, you can also try using your project’s Execution Plan.

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