Description
Each object has a unique number that identifies it among its siblings. The Id property returns this number as an integer that can be used later to work with the object.
Declaration
TestObj.Id
Read-Only Property | Integer |
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
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Property Value
ID of the current object.
Remarks
For processes, the Id
property equals the process ID. For program objects that correspond to HTML elements on a tested Web page, the Id
property equals the sourceIndex
property (HTML) of the object.
See Also
Name Property
FullName Property
MappedName Property
Parent Property