Patent ID: 8850395

Claim:
A computer program product for managing graphical user interface (GUI) objects in a testing environment, the computer program product comprising: a non-transitory computer readable storage medium having computer readable program code embodied therewith, the computer readable program code configured to: uniquely identify 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; map 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 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 and arranged in the pre-defined hierarchical order based on those corresponding weights to define the mapping for the uniquely identified GUI objects; and sorting 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.