Automation testing using descriptive maps
First Claim
1. An article of manufacture comprising:
- a non-transitory machine readable memory having computer readable program code embodied therein;
one or more processors configured to execute the computer readable program code; and
a system bus configured to transfer the computer readable program code from the machine readable memory to the processor;
the code when executed by the one or more processors, performs a method for automation testing of a webpage of a User Interface (“
UI”
), the method comprising;
receiving an Instruction Sheet comprising;
an automation test scenario; and
a reference to a Data Sheet;
extracting from the Data Sheet;
a reference to a first UI Map; and
a testing parameter for a first UI control;
extracting, from the first UI Map, metadata associated with the first UI control, the metadata comprising;
the webpage that comprises the first UI control;
a name of the first UI control;
a control type associated with the first UI control on the webpage;
a category associated with the first UI control on the webpage;
a default value for the first UI control on the webpage; and
a reference to a second UI control triggered in response to user manipulation of the first UI control;
initializing the first UI control based on the metadata;
applying the automation test scenario to the first UI control using the testing parameter; and
in response to applying the automation test scenario the first UI control, initializing the second UI control based on a second UI Map associated with the second UI control;
wherein;
the applying of the automation test scenario comprises initializing a class object using a two-part keyword;
a first part of the keyword initializes computer code that is configured to;
identify the first UI Map; and
extract the metadata from the first UI Map; and
a second part of the keyword initializes computer code that is configured to execute the automation test scenario using the testing parameter.
1 Assignment
0 Petitions
Accused Products
Abstract
Apparatus and methods for automation testing of a user interface (“UI”) using descriptive UI Maps are provided. A UI Map may list related UI controls, properties and functionality of the UI controls. A Data Sheet may provide test parameters used for each control in a particular test step. An Instructions Sheet may specify an automation test scenario to be applied. The Instruction Sheet may include a reference to the test parameters of the Data Sheet. Use of descriptive UI maps may provide a modular framework. Each UI Map may describe a group of functionally or logically linked controls on a UI page. As a result of description details being provided in the UI map, standard code may be written once to interpret and make use of those details. Typically no additional coding is required to automate test scenarios related to control groups associated with the UI.
37 Citations
11 Claims
-
1. An article of manufacture comprising:
-
a non-transitory machine readable memory having computer readable program code embodied therein; one or more processors configured to execute the computer readable program code; and a system bus configured to transfer the computer readable program code from the machine readable memory to the processor; the code when executed by the one or more processors, performs a method for automation testing of a webpage of a User Interface (“
UI”
), the method comprising;receiving an Instruction Sheet comprising; an automation test scenario; and a reference to a Data Sheet; extracting from the Data Sheet; a reference to a first UI Map; and a testing parameter for a first UI control; extracting, from the first UI Map, metadata associated with the first UI control, the metadata comprising; the webpage that comprises the first UI control; a name of the first UI control; a control type associated with the first UI control on the webpage; a category associated with the first UI control on the webpage; a default value for the first UI control on the webpage; and a reference to a second UI control triggered in response to user manipulation of the first UI control; initializing the first UI control based on the metadata; applying the automation test scenario to the first UI control using the testing parameter; and in response to applying the automation test scenario the first UI control, initializing the second UI control based on a second UI Map associated with the second UI control; wherein; the applying of the automation test scenario comprises initializing a class object using a two-part keyword; a first part of the keyword initializes computer code that is configured to; identify the first UI Map; and extract the metadata from the first UI Map; and a second part of the keyword initializes computer code that is configured to execute the automation test scenario using the testing parameter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
Specification