Please download the dossier by clicking on the dossier button x
×

Method and apparatus for generating a state machine model of an application using models of GUI objects and scanning modes

  • US 10,628,630 B1
  • Filed: 08/14/2019
  • Issued: 04/21/2020
  • Est. Priority Date: 08/14/2019
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • receiving, by a computing device, a definition of a first element classifier configured to identify one or more document object model (DOM) elements that each is likely to encode a first type of graphical user interface (GUI) object;

    receiving, by the computing device, a first file that encodes at least a portion of a first application page of an application;

    modelling, by the computing device, the first application page of the application by;

    instantiating, within an application model, a first state associated with the first application page;

    storing, with the first state of the application model, identifying characteristics of the first application page;

    identifying, by the first element classifier, one or more DOM elements in a DOM corresponding to the first application page that each is likely to encode the first type of GUI object;

    for each of the one or more identified DOM elements,determining whether an identifying characteristic of the identified DOM element is identical to an identifying characteristic of a DOM element associated with any previously instantiated edges of the application model,if the identifying characteristic of the identified DOM element is identical to an identifying characteristic of a DOM element associated with a previously instantiated edge of the application model,(i) instantiating, for the application model, a first edge from the first state,(ii) designating an action of the first edge to be an action of the previously instantiated edge, and(iii) designating an identifying characteristic of the first edge to be an identifying characteristic of the previously instantiated edge,otherwise, if the identifying characteristic of the identified DOM element is not identical to an identifying characteristic of a DOM element associated with any previously instantiated edges of the application model,(i) instantiating, for the application model, a second edge from the first state,(ii) determining an action that is appropriate for the identified DOM element,(iii) associating the determined action with the second edge,(iv) associating an identifying characteristic of the identified DOM element with the second edge, and(v) performing the determined action on the identified DOM element.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×