Name Property

Applies to TestComplete 15.62, last modified on March 14, 2024

Description

Each object has a unique name among its siblings. For instance, there are no two processes with the same name in the system. Likewise, a process cannot create two windows with the same name. The Name property returns the name of its object.

Declaration

TestObj.Name

Read-Only Property String
TestObj A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section

Applies To

All processes, windows, controls and onscreen objects.

View Mode

This property is available in the Object Browser panel and in other panels and dialogs in both Basic and Advanced view modes.

Property Value

A string containing the name of the object.

See Also

MappedName Property
FullName Property
Id Property
ProcessName Property

Highlight search results