A Test automation tool identifies the controls using
The X,Y position of the control on the UI
An algorithm that is not exposed to the user
The identification properties from the GUI map
The relative position of the control with respect to the parent window