AutomationElementAutomationId
AutomationElementAutomationId is a property that uniquely identifies an AutomationElement within the UI Automation hierarchy. UI Automation is a framework that enables accessibility tools and other applications to programmatically inspect and interact with user interface elements. The AutomationId property provides a stable, often developer-assigned identifier for a specific UI element. This identifier is intended to be consistent across different runs of the application and even across different versions, provided the element's automation structure remains unchanged.
The value of AutomationId is typically a string. It is distinct from other identifiers like the Name