Nova Patents
CA2805604C

Test script transformation architecture

Abstract

A script analyzer with change guide generates accurate test scripts for evolving applications. Applications often have complex graphical user interfaces for which the permutations and combinations of GUI elements give rise to an enormous field of potential commands and command sequences to be tested. Furthermore, these applications change over time, rendering prior test scripts unworkable. The script analyzer automatically generates new test scripts to reliably test subsequent application versions, while greatly reducing the time, cost, and resource expenditures needed to arrive at subsequent application versions. A graphical user interface (GUI) application comparator helps application designers create error free graphical user interface applications (GAPs). The comparator finds differences in the GUI elements used to compose an interface between a current GAP version and a subsequent GAP version. One benefit is that a test script writer may better understand how the GAP has evolved in order to write a better test script. Another benefit is that the comparator output may be analyzed by subsequent processing systems for automated analysis of test scripts.

CA2805604C, drawing sheet 1
Sheet 1 of 57

Term

2.4 yearsleft in the term

Expires 13 February 2029.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

16 claims: 3 independent, 13 dependent

  1. 1
    CA 02805604 2015-09-11 54800-25D1 CLAIMS:1. A product comprising: a memory;a similarity threshold stored in the memory;a current graphical user interface (GUI) application (GAP) GUI model stored in the memory, the current GAP GUI model including a first source GUI element;a subsequent GAP GUI model stored in the memory, the subsequent GAP GUI model including a first destination GUI element;and GAP comparison logic stored in the memory, the GAP comparison logic comprising: weighted analysis logic operable to: determine a similarity value based on the first source GUI element and the first destination GUI element;and modify the similarity threshold based on an operator input;match building logic operable to: create a first GUI element link between the first source GUI element and the first destination GUI element when the similarity value exceeds the similarity threshold;and highlight matching GUI elements between a current GAP version and a subsequent GAP version responsive to the similarity threshold.
  2. 7
    A product comprising:a memory;a base graphical user interface (GUI) difference model stored in the memory;and GAP comparison logic stored in the memory and operable to: analyze a first GUI element in a current graphical user interface application (GAP) version against a second GUI element in a subsequent GAP version to determine a first similarity value;insert a GUI element link from the first GUI element to the second GUI element in the base GUI difference model when the first similarity value exceeds a similarity threshold;modify the similarity threshold based on an operator input;and 141 CA 02805604 2015-09-11 54800-25D1 highlight matching GUI elements between the current GAP version and the subsequent GAP version responsive to the similarity threshold.
  3. 13
    A method comprising:analyzing a first graphical user interface (GUI) element in a current graphical user interface application (GAP) version against a second GUI element in a subsequent GAP version to determine a first similarity value;inserting a GUI element link from the first GUI element to the second GUI element in a base GUI difference model when the first similarity value exceeds a similarity threshold;modifying the similarity threshold based on an operator input;and 142 CA 02805604 2015-09-11 54800-25D1 highlighting matching GUI elements between the current GAP version and the subsequent GAP version responsive to the similarity threshold.