15. An apparatus comprising: a processor; and a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to implement a user interface automation tool, wherein the instructions cause the processor to: execute, by the user interface automation tool, a script to perform automation functions on user interface controls in a user interface of an application; responsive to automation of a given user interface control failing, identify, by the user interface automation tool, a candidate user interface control that is the same as a user interface control expected in the script using a machine learning model, wherein the machine learning model receives as input object properties of the given user interface control in the script, object properties of user interface objects in the user interface, code changes from a source control system, how many changes per day, number of defects, and a version of the application; correct, by the user interface automation tool, the script to refer to the candidate user interface control to form a corrected script; and perform, by the user interface automation tool, a user interface function on the candidate user interface control according the corrected script.
15. An apparatus comprising: a processor; and a memory coupled to the processor, wherein the memory comprises instructions which, when executed by the processor, cause the processor to implement a user interface automation tool, wherein the instructions cause the processor to: execute, by the user interface automation tool, a script to perform automation functions on user interface controls in a user interface of an application; responsive to automation of a given user interface control failing, identify, by the user interface automation tool, a candidate user interface control that is the same as a user interface control expected in the script using a machine learning model, wherein the machine learning model receives as input object properties of the given user interface control in the script, object properties of user interface objects in the user interface, code changes from a source control system, how many changes per day, number of defects, and a version of the application; correct, by the user interface automation tool, the script to refer to the candidate user interface control to form a corrected script; and perform, by the user interface automation tool, a user interface function on the candidate user interface control according the corrected script. 20. The apparatus of claim 15 , wherein correcting the script comprises correcting hidden tables associated with the given user interface control.