UIAccessibilityIdentification
Methods that associate a unique identifier with elements in your user interface.
Declaration
protocol UIAccessibilityIdentification : NSObjectProtocolOverview
You can use the identifiers you define in UI Automation scripts because the value of accessibilityIdentifier corresponds to the return value of the name method of UIAElement.