1. A computer-executed method for automatically generating addressing queries for objects rendered on a graphical user interface (GUI), wherein the method comprises: receiving a request to generate an object-addressing query for a target GUI object in an application under test; identifying an application context for the application under test; retrieving a rule document describing GUI object-addressing query rules based at least on the identified application context; parsing the rule document to obtain an applicable query rule set for the application, wherein parsing the rule document comprises: retrieving a rule-identification query defined in the rule entry of a respective rule, executing the rule-identification query against the target GUI object in the context of a markup language document in which the object is represented as a node, verifying whether the query result is true, and adding the rule to the applicable rule set when the query result is true; generating a set of query candidates for the target GUI object based at least on the applicable rule set; and determining a unique object-addressing query for the target GUI object.