ObjectIdentifier Property (MSAA Objects)

Applies to TestComplete 15.65, last modified on July 17, 2024


Use the ObjectIdentifier property to get an object’s identifier that is used to name MSAA objects. The property returns the value of the object’s Caption property. If the Caption property is empty, ObjectIdentifier returns the value of the ControlIndex property.



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

This property is applied to all the objects that are exposed by the MSAA engine.

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 holding the object identifier.


ObjectIdentifier is not updated if the object’s accessibility name changes in the application. To search for dynamic objects, use Caption instead.

See Also

ControlIndex Property (MSAA Objects)
ControlIndexInGroup Property (MSAA Objects)
ObjectGroupIndex Property (MSAA Objects)

Highlight search results