Test script transformation architecture
First Claim
Patent Images
1. A test script transformation system comprising:
- a memory;
a processor coupled to the memory;
a graphical user interface (GUI) element mapping system adapted to;
generate a GUI element mapping specification message comprising a GUI element version mapping comprising a GUI element mapping specification message header and a GUI element mapping specification message terminator;
a metadata repository adapted to;
receive the GUI element mapping specification message and responsively maintain GUI element metadata;
GUI comparator logic stored in the memory and executable by the processor that when executed by the processor cause the processor to;
accept as input;
a current GUI application (GAP) GUI model for a current GAP version;
a subsequent GAP GUI model for a subsequent GAP version; and
the GUI element version mapping; and
generate as output;
a GUI difference model comprising a first GUI element difference entry that identifies a specific GUI element that matches between the current GAP version and the subsequent GAP version, but that differs in character between the current GAP version and the subsequent GAP version;
a script analyzer stored in the memory and executable by the processor that when executed by the processor cause the processor to;
accept as input;
the GUI difference model; and
an abstract syntax tree representation of a current test script;
generate as output a change guide comprising script transformation information for functionally transforming the current test script that includes navigation statements, and performs read, write, or other actions or functions on GUI objects, and the arguments of these functions to test the functionality of the subsequent GAP version; and
an economic engine operable to analyze the change guide.
3 Assignments
0 Petitions
Accused Products
Abstract
A test script transformation architecture helps generate accurate test scripts for evolving applications. Applications often have complex graphical user interfaces for which the permutations and combinations of GUI elements give rise to an enormous field of potential commands and command sequences to be tested. Furthermore, these applications change over time, rendering prior test scripts unworkable. The architecture facilitates the automatic generation of new test scripts to reliably test subsequent application versions, while greatly reducing the time, cost, and resource expenditures needed to arrive at new test scripts.
80 Citations
24 Claims
-
1. A test script transformation system comprising:
-
a memory; a processor coupled to the memory; a graphical user interface (GUI) element mapping system adapted to; generate a GUI element mapping specification message comprising a GUI element version mapping comprising a GUI element mapping specification message header and a GUI element mapping specification message terminator; a metadata repository adapted to;
receive the GUI element mapping specification message and responsively maintain GUI element metadata;GUI comparator logic stored in the memory and executable by the processor that when executed by the processor cause the processor to; accept as input;
a current GUI application (GAP) GUI model for a current GAP version;
a subsequent GAP GUI model for a subsequent GAP version; and
the GUI element version mapping; andgenerate as output;
a GUI difference model comprising a first GUI element difference entry that identifies a specific GUI element that matches between the current GAP version and the subsequent GAP version, but that differs in character between the current GAP version and the subsequent GAP version;a script analyzer stored in the memory and executable by the processor that when executed by the processor cause the processor to; accept as input;
the GUI difference model; and
an abstract syntax tree representation of a current test script;generate as output a change guide comprising script transformation information for functionally transforming the current test script that includes navigation statements, and performs read, write, or other actions or functions on GUI objects, and the arguments of these functions to test the functionality of the subsequent GAP version; and an economic engine operable to analyze the change guide. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A test script analysis method comprising:
-
generating a graphical user interface (GUI) element mapping specification message comprising a GUI element version mapping comprising a GUI element mapping specification message header and a GUI element mapping specification message terminator; receiving the GUI element mapping specification message at a metadata repository and responsively maintaining GUI element metadata; initiating execution of GUI comparator logic operable to; accept as input;
a current GUI application (GAP) GUI model for a current GAP version;
a subsequent GAP GUI model for a subsequent GAP version; and
the GUI element version mapping; andgenerate as output;
a GUI difference model comprising a first GUI element difference entry that identifies a specific GUI element that matches between the current GAP version and the subsequent GAP version, but that differs in character between the current GAP version and the subsequent GAP version; andinitiating execution of a script analyzer operable to; accept as input;
the GUI difference model; and
an abstract syntax tree representation of a current test script;generate as output a change guide comprising script transformation information for functionally transforming the current test script that includes navigation statements, and performs read, write, or other actions or functions on GUI objects, and the arguments of these functions to test the functionality of the subsequent GAP version; and initiating execution of an economic engine operable to analyze the change guide. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A product comprising:
-
a non-transitory memory; and test script analysis logic stored in the non-transitory memory, executable by a processor coupled to the non-transitory memory that when executed causes the processor to; generate a graphical user interface (GUI) element mapping specification message comprising a GUI element version mapping comprising a GUI element mapping specification message header and a GUI element mapping specification message terminator; receive the GUI element mapping specification message at a metadata repository and responsively maintaining GUI element metadata; initiate execution of GUI comparator logic operable to; accept as input;
a current GUI application (GAP) GUI model for a current GAP version;
a subsequent GAP GUI mode for a subsequent GAP version; and
the GUI element version mapping; andgenerate as output;
a GUI difference model comprising a first GUI element difference entry that identifies a specific GUI element that matches between the current GAP version and the subsequent GAP version, but that differs in character between the current GAP version and the subsequent GAP version; andinitiate execution of a script analyzer operable to; accept as input;
the GUI difference model; and
an abstract syntax tree representation of a current test script;generate as output a change guide comprising script transformation information for functionally transforming the current test script that includes navigation statements, and performs read, write, or other actions or functions on GUI objects, and the arguments of these functions to test the functionality of the subsequent GAP version; and initiate execution of an economic engine operable to analyze the change guide. - View Dependent Claims (19, 20, 21, 22, 23, 24)
-
Specification