TdxAutomationElementSettings.AutomationId Property
Specifies the control/UI element ID in the UI Automation tree.
Declaration
property AutomationId: string read; write;
Property Value
| Type | Description |
|---|---|
| string | The control/UI element ID in the UI Automation tree. |
Remarks
Use the AutomationID property to specify a dedicated identifier for a DevExpress control or UI element in the UI Automation tree. The specified UIA tree node name must be unique at the current UI hierarchy level.
Property Usage Scenarios
The AutomationId property is particularly useful for automatic UI testing purposes because the specified ID always remains the same, unlike Name, Description, and other localizable UIA node properties designed to store end-user information.
Corresponding UIA Framework Field
The AutomationId property corresponds to the AutomationIdProperty field.
Default Value
The AutomationId property’s default value is an empty string.
See Also