A method, a system and a computer program product for managing graphical user interface (GUI) objects in a testing environment. GUI objects in the testing environment are uniquely identified and the GUI objects have corresponding test objects. The uniquely identified GUI objects in the test environment are sorted in response to the pre-defined hierarchy of properties belonging to the set of properties and the pre-defined hierarchy of properties includes at least one spatial property.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for managing graphical user interface (GUI) objects in a testing environment, comprising: uniquely identifying, via a processor, the GUI objects of a GUI in the testing environment, the GUI objects having corresponding test objects and at least one spatial property selected from a set of properties; mapping the uniquely identified GUI objects in the test environment to a display of the GUI objects by arranging the uniquely identified GUI objects in an order within the test environment corresponding to locations of objects within the displayed GUI wherein the arranging the uniquely identified GUI objects comprises: sorting, via the processor, the uniquely identified GUI objects of the GUI in the test environment into a first set of one or more groups based on a first property in a pre-defined hierarchical order of two or more properties belonging to the set of properties, wherein the two or more properties are each associated with a corresponding weight arranged in the pre-defined hierarchical order based on those corresponding weights to define the mapping for the uniquely identified GUI objects; and sorting, via the processor, the GUI objects in each of the first set of one or more groups into one or more sub-groups based on a second property subordinate to the first property in the pre-defined hierarchical order, wherein at least one property selected from the pre-defined hierarchical order of two or more properties includes at least one spatial property and the first and second properties are selected based on corresponding weights.
2. The method of claim 1 , wherein the at least one spatial property is expressed using a co-ordinate system.
3. The method of claim 1 , wherein at least one property selected from the pre-defined hierarchical order of two or more properties includes at least one source-code property.
4. The method of claim 1 , wherein the set of properties further comprises a name property, a class property, an enabled property, a disabled property, a visible property, a state property, and any combination thereof.
5. The method of claim 1 , further comprising: defining the pre-defined hierarchical order of the properties belonging to the set of properties.
6. The method of claim 5 , wherein the defining further comprises: assigning the weights to the two or more properties belonging to the set of properties, wherein the weights determine a rank in the pre-determined hierarchical order of properties.
7. The method of claim 6 , wherein the assigning further comprises: providing a mechanism to assign the weights to each property belonging to the set of properties, wherein the mechanism is one selected from a set comprising a graphical user interface (GUI), a property input mechanism, an “ini” file input mechanism, and an application programming interface (API).
8. The method of claim 7 , wherein the GUI of the mechanism is one selected from a set comprising a checkbox interface, a dropdown list interface, a button interface, an edit box interface, a tab interface, a tree interface and a radial button interface.
9. The method of claim 6 , wherein the assigning is performed using a cursor pointing device.
10. The method of claim 1 , further comprising: determining that a first node corresponding to a highest priority of the pre-defined hierarchical order of properties comprises a class; grouping the uniquely identified GUI objects by class to form the first set of one or more groups; determining that a second node corresponding to a second priority of the pre-defined hierarchical order of properties comprises a first directional axis; determining that a third node corresponding to a third priority of the pre-defined hierarchical order of properties comprises a second directional axis; grouping each of the first set of one or more groups into one or more sub-groups, wherein each sub-group contains one or more uniquely identified GUI objects with a substantially similar position along the first directional axis; sorting each sub-group by first directional axis position; and sorting the uniquely identified GUI objects within each sub-group by second directional axis position.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
March 12, 2013
October 7, 2014
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.