Method for analyzing state transition in web page
First Claim
1. A computer-implemented method for analyzing a state transition in a web page that utilizes dynamic hyper text markup language, comprising the steps of:
- acquiring an event that operates the dynamic hyper text markup language and dynamically causes a state transition within the web page, by analyzing a document object model of the web page;
virtually executing the state transition within the web page after input from a user;
virtually executing the event in order to acquire a state after the state transition without receiving any input from a user;
identifying each of the web page states after the transition by virtually executing a plurality of different events different to the same web page as data that is composed of at least one of the document object model, style information rendered on a browser, data indicating an input status from a virtually-executed user input device, and a value of a global variable, and storing an identified state without redundancy;
dynamically receiving from a user information including test date, random test values, and a number of test attempts;
reducing a number of states of the web page by grouping variable values;
acquiring and storing an estimated role of each element affected by the event that operates the dynamic hyper text markup language in a role estimation table;
estimating a display change of the web page that occurs due to the acquired event and a type and a state of each element affected by the acquired event, by analyzing a changed part of the data that specifies the state of each element affected by the acquired event within the web page and a structure of the web page;
reading out a stored state and changing the web page to the readout state; and
displaying the readout state on a computer display.
1 Assignment
0 Petitions
Accused Products
Abstract
A method that enables a tester to efficiently perform confirmation behavior of a Web page that utilizes DHTML or difference in behavior of the Web page among various browsers, or assignment of information relating to accessibility of the Web page or verification of the information. A method is provided that analyzes change in a Web page by determining states that can dynamically occur in response to an external event in a Web page that utilizes DHTML by analyzing at least one of DOM, style information for when rendered on a browser, input data from a user, and the value of a global variable in JAVA®SCRIPT, storing data that can identify each of the states, identifying state transition between the stored states, and reproducing the stored states.
-
Citations
4 Claims
-
1. A computer-implemented method for analyzing a state transition in a web page that utilizes dynamic hyper text markup language, comprising the steps of:
-
acquiring an event that operates the dynamic hyper text markup language and dynamically causes a state transition within the web page, by analyzing a document object model of the web page; virtually executing the state transition within the web page after input from a user; virtually executing the event in order to acquire a state after the state transition without receiving any input from a user; identifying each of the web page states after the transition by virtually executing a plurality of different events different to the same web page as data that is composed of at least one of the document object model, style information rendered on a browser, data indicating an input status from a virtually-executed user input device, and a value of a global variable, and storing an identified state without redundancy; dynamically receiving from a user information including test date, random test values, and a number of test attempts; reducing a number of states of the web page by grouping variable values; acquiring and storing an estimated role of each element affected by the event that operates the dynamic hyper text markup language in a role estimation table; estimating a display change of the web page that occurs due to the acquired event and a type and a state of each element affected by the acquired event, by analyzing a changed part of the data that specifies the state of each element affected by the acquired event within the web page and a structure of the web page; reading out a stored state and changing the web page to the readout state; and displaying the readout state on a computer display. - View Dependent Claims (2, 3, 4)
-
Specification