×

Automation testing using descriptive maps

  • US 9,189,377 B1
  • Filed: 08/18/2014
  • Issued: 11/17/2015
  • Est. Priority Date: 06/02/2014
  • Status: Active Grant
First Claim
Patent Images

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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×