METHOD TO RECOGNIZE GUI OBJECT IN GLOBALIZED ENVIRONMENT
First Claim
1. A method for identifying GUI widgets of software, comprising the steps of:
- during runtime of the software, determining a GUI window object and an ID thereof;
determining all GUI widgets or all GUI widgets bellowing to a same type in the GUI window object;
partitioning the display area of the GUI window object into a plurality of areas such that each of the GUI widgets is uniquely contained in one area;
specifying a unique ID for each portioned area containing a GUI widget; and
,identifying a GUI widget using the ID of the GUI window object and the ID of the area where the GUI widget resides, or the ID of the GUI window object, the ID of the type to which the GUI widget belongs and the ID of the area where the GUI widget resides so as to get the ID property of the GUI widget.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for identifying GUI widgets of software are provided, comprising: during runtime of the software, determining a GUI window object and an ID thereof; determining all GUI widgets or all GUI widgets belonging to a same type in the GUI window object; partitioning the display area of the GUI window object into a plurality of areas such that each of the GUI widgets is uniquely contained in one area; specifying a unique ID for each area containing a GUI widget; and, identifying a GUI widget using the ID of the GUI window object and the ID of the area where the GUI widget resides, or the ID of the GUI window object, the ID of the type to which the GUI widget belongs and the ID of the area where the GUI widget resides, as the ID property of the GUI widget .
-
Citations
9 Claims
-
1. A method for identifying GUI widgets of software, comprising the steps of:
-
during runtime of the software, determining a GUI window object and an ID thereof; determining all GUI widgets or all GUI widgets bellowing to a same type in the GUI window object; partitioning the display area of the GUI window object into a plurality of areas such that each of the GUI widgets is uniquely contained in one area; specifying a unique ID for each portioned area containing a GUI widget; and
,identifying a GUI widget using the ID of the GUI window object and the ID of the area where the GUI widget resides, or the ID of the GUI window object, the ID of the type to which the GUI widget belongs and the ID of the area where the GUI widget resides so as to get the ID property of the GUI widget. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of automated testing of software, comprising the stops of:
-
in the playback phase of a test script, during the running of a second version of the software, reading the ID properties of the GUI widgets stored in the test script, wherein the ID properties of the GUI widgets are obtained by identifying the GUI widgets in a first version of the software; obtaining the ID properties of the GUI widgets in the second version of the software using the same identifying method as that for obtaining the ID properties of the GUI widgets in the test script; and
,executing the test script with respect to the second version of the software according to the matching relationships between the read ID properties of the GUI widgets and the obtained ID properties of the GUI widgets in the second version of the software. - View Dependent Claims (7, 8)
-
-
9-15. -15. (canceled)
Specification