Method for generating data structures for automatically testing GUI applications
First Claim
1. A method of generating a data structure for use with a graphical user interface (GUI) test tool, said GUI test tool exercising a plurality of different GUI application objects using data structured according to said data structure to test a software application interfaced with said GUI test tool through said GUI, said method comprising:
- opening a spreadsheet file;
defining a GUI environment part of the data structure in said spreadsheet file for said plurality of different application objects;
defining a plurality of rows in a parameters part of said data structure in said spreadsheet file, each row containing a plurality of columns and each row defining a single test, suitable for use with an automatic test engine, of a given one of the GUI application objects and each column representing a parameter of the given GUI application object;
combining said GUI environment part and said parameters part to generate said data structure, wherein the data structure is used with the automatic test engine that includes at least one GUI environment-independent component having application object dependent variables that are defined by the data structure such that each said at least one GUI environment-independent component is capable of being operative in testing said plurality of different GUI application objects based on a common test script executed by the automatic test engine; and
storing a parameter file in a comma delimited file structured by said data structure, said parameter file being stored in storage for testing said plurality of different GUI application objects by the automatic test engine.
7 Assignments
0 Petitions
Accused Products
Abstract
The invention relates to methods for generating data structures for use with an environment based data driven test engine for computer programs which have a graphical user interface (GUI). The methods are used in connection with a scriptable GUI test tool. The tool generates a GUI map (or includes a utility which generates a GUI map), at least one environment definition (parameter) file, at least one test data (driver) file, and an automated test engine. A separate environment definition file is provided for each feature of the GUI. The automated test engine (ATE) is composed of a plurality of library modules written in the scripting language of the scriptable GUI test tool. The ATE is driven by the test data file and calls upon the GUI map and environment definition file.
43 Citations
20 Claims
-
1. A method of generating a data structure for use with a graphical user interface (GUI) test tool, said GUI test tool exercising a plurality of different GUI application objects using data structured according to said data structure to test a software application interfaced with said GUI test tool through said GUI, said method comprising:
-
opening a spreadsheet file; defining a GUI environment part of the data structure in said spreadsheet file for said plurality of different application objects; defining a plurality of rows in a parameters part of said data structure in said spreadsheet file, each row containing a plurality of columns and each row defining a single test, suitable for use with an automatic test engine, of a given one of the GUI application objects and each column representing a parameter of the given GUI application object; combining said GUI environment part and said parameters part to generate said data structure, wherein the data structure is used with the automatic test engine that includes at least one GUI environment-independent component having application object dependent variables that are defined by the data structure such that each said at least one GUI environment-independent component is capable of being operative in testing said plurality of different GUI application objects based on a common test script executed by the automatic test engine; and
storing a parameter file in a comma delimited file structured by said data structure, said parameter file being stored in storage for testing said plurality of different GUI application objects by the automatic test engine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method of automatically generating a data structure in a computer system for use with a graphical user interface (GUI) test tool, said GUI test tool exercising a plurality of different GUI application objects using data structured according to said data structure to test a software application interfaced with said GUI test tool through said GUI, said method comprising:
-
opening a spreadsheet file; defining a GUI environment part of a data structure in said spreadsheet file that includes information that specifies a GUI environment for each application object; defining a parameters part of the data structure in said spreadsheet file that includes individual fields that appear in at least one of said application objects; combining said GUI environment part and said parameters part to generate said data structure, wherein the data structure is used with the automatic test engine that includes at least one GUI environment-independent component having application object dependent variables that are defined by the data structure such that each said at least one GUI environment-independent component is capable of being operative in testing said plurality of different GUI application objects based on a common test script executed by the automatic test engine; and storing a parameter file in a comma delimited file structured by said data structure, said parameter file being stored in storage for testing said plurality of different GUI application objects by the automatic test engine. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification