IDENTIFYING CLIENT STATES
First Claim
Patent Images
1. A computer-implemented method comprising:
- capturing a current representation of HTML for a web application;
identifying, within the current representation, a current substate value for each Xpath of a defined plurality of Xpaths within the HTML, wherein each Xpath is associated with a different variable substate of the web application, and wherein each variable substate has a plurality of possible substate values dependent upon event execution within the web application; and
generating, based on a combination of the identified current substate value of each of the variable substates, a current state representation of a document object model (DOM) of the web application.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for identifying client states, receives a set of paths representative of a document object model (DOM) associated with a web page of a rich internet application and for each path in the set of paths received, extracts a subtree, as subtree X, for a current path. The method traverses all known sub-paths under the current path and delete corresponding subtrees from subtree X and reads contents of and determines states of subtree X to form a state X. The state X is added to a set of current states and responsive to a determination no more paths exist, returns the set of current states of the rich internet application.
11 Citations
9 Claims
-
1. A computer-implemented method comprising:
-
capturing a current representation of HTML for a web application; identifying, within the current representation, a current substate value for each Xpath of a defined plurality of Xpaths within the HTML, wherein each Xpath is associated with a different variable substate of the web application, and wherein each variable substate has a plurality of possible substate values dependent upon event execution within the web application; and generating, based on a combination of the identified current substate value of each of the variable substates, a current state representation of a document object model (DOM) of the web application. - View Dependent Claims (2, 3)
-
-
4. A computer program product comprising a computer readable storage medium having a computer readable application stored therein, wherein the computer readable application, when executed on a computing device, causes the computing device to perform a method comprising:
-
capturing a current representation of HTML for a web application; identifying, within the current representation, a current substate value for each Xpath of a defined plurality of Xpaths within the HTML, wherein each Xpath is associated with a different variable substate of the web application, and wherein each variable substate has a plurality of possible substate values dependent upon event execution within the web application; and generating, based on a combination of the identified current substate value of each of the variable substates, a current state representation of a document object model (DOM) of the web application. - View Dependent Claims (5, 6)
-
-
7. An apparatus comprising:
-
a communications fabric; a memory connected to the communications fabric, wherein the memory contains computer executable program code; and a processor unit connected to the communications fabric, wherein the processor unit executes the computer executable program code to direct the apparatus to perform a method comprising; capturing a current representation of HTML for a web application; identifying, within the current representation, a current substate value for each Xpath of a defined plurality of Xpaths within the HTML, wherein each Xpath is associated with a different variable substate of the web application, and wherein each variable substate has a plurality of possible substate values dependent upon event execution within the web application; and generating, based on a combination of the identified current substate value of each of the variable substates, a current state representation of a document object model (DOM) of the web application. - View Dependent Claims (8, 9)
-
Specification