×

User interface for testing and asserting UI elements with natural language instructions

  • US 9,715,483 B2
  • Filed: 09/16/2010
  • Issued: 07/25/2017
  • Est. Priority Date: 09/16/2010
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for testing comprising the following machine-implemented steps:

  • receiving a plurality of natural language instructions, each of the plurality of natural language instructions including a natural language statement, such that each of the plurality of natural language instructions identifies, via natural language, a user interface element and particular text in the user interface element within a user interface,parsing the plurality of natural language instructions, wherein the parsing of the natural language instructions includes;

    identifying a target element specified by the natural language instructions;

    identifying properties identifying the target element;

    evaluating the natural language instructions to true or false based on accessing a document object model of a web page with information that includes a state and condition of the target element;

    modifying a plurality of user interface elements by executing a plurality of natural language modification statements;

    wherein the plurality of natural language instructions make an assertion as to existence of one of the plurality of modified user interface elements in the user interface and to existence of a property of the one of the plurality of modified user interface elements,wherein at least one property of the one of the plurality of modified user interface elements includes an assertion of being greater than a value of a variable during execution of an application, andwherein the user interface is included in a web browser and includes a first section that displays a scripting system including the natural language instructions and a second section that displays the web page including the user interface elements,wherein the first section and the second section are completely displayed simultaneously side by side, and wherein the scripting system refers to elements on the web page, andwherein both the one of the plurality of modified user interface elements and the natural language instructions are highlighted with a specified color based upon an existence of the one of the plurality of modified user interface elements;

    wherein the plurality of natural language instructions are displayed as a list,wherein the scripting system is configured to include buttons to record the plurality of natural language instructions, step to a listed one of the plurality of natural language instructions, and save one of the plurality of natural language instructions, andwherein the first section is divided into three separately bordered parts, with a first part including the buttons to record, step to, and save the natural language instructions, a second part includes a natural language description of the second section, and a third part includes a list of previously entered natural language instructions.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×