Automatically generating software tests based on metadata
First Claim
1. A method of automatically generating tests, the method comprising:
- receiving a definition for a set of application pages, wherein the definition comprises an ordering of how the application pages appear in a hierarchical menu system and is written in a first language, and wherein each page in the set of application pages is written in a second language and is one visual display among a plurality of visual displays that form a page hierarchy;
wherein the definition is a file;
parsing the definition to determine one or more page attributes associated with each page in the set of application pages, wherein the one or more page attributes comprise a screen identifier, hierarchy location, or a security level, and wherein the screen identifier, hierarchy location, or security level are associated with the each page in the set of application pages; and
automatically generating a plurality of test scripts in a third language, wherein the plurality of test scripts, when executed by a testing system, cause the testing system to perform the steps of;
placing the set of application pages under test;
using the one or more page attributes to navigate through the set of application pages;
displaying an output for each application page in the set of application pages;
determining whether the output for each application page is properly displayed; and
generating an indication of whether the output for each application page is properly displayed.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of automatically generating tests for a software program based on metadata that is used to control the operational behavior of a software product is disclosed. A definition is received of a page hierarchy and security characteristics associated with the software program and representing output pages that are generated by the program in operation. The definition is parsed to identify information associated with one or more pages of the program. Automatically, instructions in a test language are generated. The instructions, when executed by a testing system, cause the testing system to perform the steps of: navigating through the page hierarchy and displaying each of the pages; determining whether each of the pages is properly displayed by the program; and generating output indicating whether each of the pages is properly displayed.
-
Citations
34 Claims
-
1. A method of automatically generating tests, the method comprising:
-
receiving a definition for a set of application pages, wherein the definition comprises an ordering of how the application pages appear in a hierarchical menu system and is written in a first language, and wherein each page in the set of application pages is written in a second language and is one visual display among a plurality of visual displays that form a page hierarchy; wherein the definition is a file; parsing the definition to determine one or more page attributes associated with each page in the set of application pages, wherein the one or more page attributes comprise a screen identifier, hierarchy location, or a security level, and wherein the screen identifier, hierarchy location, or security level are associated with the each page in the set of application pages; and automatically generating a plurality of test scripts in a third language, wherein the plurality of test scripts, when executed by a testing system, cause the testing system to perform the steps of; placing the set of application pages under test; using the one or more page attributes to navigate through the set of application pages; displaying an output for each application page in the set of application pages; determining whether the output for each application page is properly displayed; and generating an indication of whether the output for each application page is properly displayed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer-readable storage medium carrying one or more sequences of instructions for automatically generating tests, which instructions, when executed by one or more processors, cause the one or more processors to carry out the steps of:
-
receiving a definition for a set of application pages, wherein the definition comprises an ordering of how the application pages appear in a hierarchical menu system and is written in a first language, and wherein each page in the set of application pages is written in a second language and is one visual display among a plurality of visual displays that form a page hierarchy; wherein the definition is a file; parsing the definition to determine one or more page attributes associated with each page in the set of application pages, wherein the one or more page attributes comprise screen identifier, hierarchy location, or a security level and wherein the screen identifier, hierarchy location, or security level are associated with the each page in the set of application pages; and automatically generating a plurality of test scripts in a third language, wherein the plurality of test scripts, when executed by a testing system, cause the testing system to perform the steps of; placing the set of application pages under test; using the one or more page attributes to navigate through the set of application pages; displaying an output for each application page in the set of application pages; determining whether the output for each application page is properly displayed; and generating an indication of whether the output for each application page is properly displayed. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. An apparatus for generating user interface tests for a software program based on metadata describing the program, comprising:
-
a network interface that is coupled to the data network for receiving one or more packet flows therefrom; a processor; one or more stored sequences of instructions which, when executed by the processor, cause the processor to carry out the steps of; receiving a definition for a set of application pages, wherein the definition comprises an ordering of how the application pages appear in a hierarchical menu system and is written in a first language, and wherein each page in the set of application pages is written in a second language and is one visual display among a plurality of visual displays that form a page hierarchy; wherein the definition is a file; parsing the definition to determine one or more page attributes associated with each page in the set of application pages, wherein the one or more page attributes comprise screen identifier, hierarchy location, or a security level and wherein the screen identifier, hierarchy location, or security level are associated with the each page in the set of application pages; and automatically generating a plurality of test scripts in a third language, wherein the plurality of test scripts, when executed by a testing system, cause the testing system to perform the steps of; placing the set of application pages under test; using the one or more page attributes to navigate through the set of application pages; displaying an output for each application page in the set of application pages; determining whether the output for each application page is properly displayed; and generating an indication of whether the output for each application page is properly displayed. - View Dependent Claims (24, 25, 26, 27, 28)
-
-
29. An apparatus for generating user interface tests, comprising:
-
means for receiving a definition for a set of application pages, wherein the definition comprises an ordering of how the application pages appear in a hierarchical menu system and is written in a first language, and wherein each page in the set of application pages is written in a second language and is one visual display among a plurality of visual displays that form a page hierarchy; wherein the definition is a file; means for parsing the definition to determine one or more page attributes associated with each page in the set of application pages, wherein the one or more page attributes comprise screen identifier, hierarchy location, or a security level, and wherein the screen identifier, hierarchy location, or security level are associated with the each page in the set of application pages; and means for automatically generating a plurality of test scripts in a third language, wherein the plurality of test scripts, when executed by a testing system, cause the testing system to perform the steps of; placing the set of application pages under test; using the one or more page attributes to navigate through the set of application pages; displaying an output for each application page in the set of application pages; determining whether the output for each application page is properly displayed; and generating an indication of whether the output for each application page is properly displayed. - View Dependent Claims (30, 31, 32, 33, 34)
-
Specification