In one general embodiment, a method is provided. In operation, one of a
plurality of object recognition methods is selected as a default object
recognition method. Additionally, a test script is executed on an
application. Further, it is detected whether the test script requires
interaction with an object on a graphical user interface of the
application. If the test script requires interaction with the object on
the graphical user interface of the application, the default object
recognition method is used to attempt to recognize the object on the
graphical user interface of the application. If the object on the
graphical user interface of the application cannot be detected with the
default object recognition method, an alternate one of the plurality of
object recognition methods is used to recognize the object on the
graphical user interface of the application and recognition properties of
the default object recognition method are updated to be able to recognize
the object on the graphical user interface. Still yet, a result of the
test script execution is output.