IP Library Granted Patent US 8,151,276
Granted Patent B2
US 8,151,276 · App. 12/038,676 · Granted Apr 3, 2012

Test script transformation analyzer with change guide engine

Assignee: Accenture Global Services GmbH
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,151,276
App. No.
12/038,676
Granted
Apr 3, 2012
Kind
B2
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.

Claims (49)

1. A product for test script transformation analysis for generating a transformed test script for a subsequent graphical user interface application (GAP) version arising from a current GAP version to test the subsequent GAP, the product comprising:

a non-transitory computer readable medium;

difference model logic stored on the machine-readable medium operable to produce a graphical user interface (GUI) difference model capturing a GUI element change from the current GAP to the subsequent GAP for a specific GUI element; and

script analysis logic stored on the machine-readable medium operable to:

receive the GUI difference model;

receive a current test script representation for a current test script for testing the current GAP, including a test script statement vector;

locate, in an object repository, a GUI object entry matching the test script statement vector;

locate, in the GUI difference model, a GUI element difference entry matching the GUI object entry;

analyze the GUI element difference entry to determine whether the specific GUI element has changed; and

output a change specifier for the current test script, when the GUI element analysis determines that the GUI element has changed, where the change specifier identifies: either of a wrong path-delete type change guide message, or a wrong path-same type change guide message, or a changed-element type change guide message, or any combination thereof.

2. The product of claim 1 ,

wherein the wrong path-delete type change guide message indicates that a first GUI element of the current GAP version is deleted from the subsequent GAP version.

3. The product of claim 1 , wherein the wrong path-same type change guide message indicates that a first GUI element of the current GAP version and a second GUI element of the subsequent GAP version have matching identifiers, but the first and the second GUI elements do not represent the same GUI element.

4. The product of claim 1 , wherein the changed-element type change guide message indicates that a first GUI element of the current GAP version and a second GUI element of the subsequent GAP version have matching identifiers, but at least one attribute of the first GUI element and the second GUI element are different.

5. The product of claim 1 , wherein the script analysis logic is further operable to receive GUI element script change rules and analyze the GUI element difference entry based on the GUI element script change rules to determine whether to output the change specifier as a transformed test script statement.

6. The product of claim 1 , wherein the script analysis logic is further operable to receive GUI element script change rules and analyze the GUI element difference entry based on the GUI element script change rules to obtain the change specifier as a transformed test script statement.

7. The product of claim 6 , wherein the transformed test script statement facilitates a test of a display property of the subsequent GAP.

8. The product of claim 6 , wherein the transformed test script statement facilitates a test of a navigation operation of the subsequent GAP.

9. The product of claim 6 , wherein the transformed test script statement facilitates a test of an action of the subsequent GAP.

10. A system for test script transformation analysis for generating a transformed test script for a subsequent graphical user interface application (GAP) version arising from a current GAP version to test the subsequent GAP, the system comprising:

a processor;

a non-transitory memory coupled to the processor, the memory comprising:

difference model logic operable to produce a graphical user interface (GUI) difference model capturing a GUI element change from the current GAP to the subsequent GAP for a specific GUI element; and

script analysis logic operable to:

receive the GUI difference model;

receive a current test script representation for a current test script for testing the current GAP, including a test script statement vector;

locate, in an object repository, a GUI object entry matching the test script statement vector;

locate, in the GUI difference model, a GUI element difference entry matching the GUI object entry;

analyze the GUI element difference entry to determine whether the specific GUI element has changed; and

output a change specifier for the current test script, when the GUI element analysis determines that the GUI element has changed, where the change specifier identifies: either of a wrong path-delete type change guide message, or a wrong path-same type change guide message, or a changed-element type change guide message, or any combination thereof.

11. The system of claim 10 ,

wherein the wrong path-delete type change guide message indicates that a first GUI element of the current GAP version is deleted from the subsequent GAP version.

12. The system of claim 10 , wherein the wrong path-same type change guide message indicates that a first GUI element of the current GAP version and a second GUI element of the subsequent GAP version have matching identifiers, but the first and the second GUI elements do not represent the same GUI element.

13. The system of claim 10 , wherein the changed-element type change guide message indicates that a first GUI element of the current GAP version and a second GUI element of the subsequent GAP version have matching identifiers, but at least one attribute of the first GUI element and the second GUI element are different.

14. The system of claim 10 , wherein the script analysis logic is further operable to receive GUI element script change rules and analyze the GUI element difference entry based on the GUI element script change rules to determine whether to output the change specifier as a transformed test script statement.

15. The system of claim 10 , wherein the script analysis logic is further operable to receive GUI element script change rules and analyze the GUI element difference entry based on the GUI element script change rules to obtain the change specifier as a transformed test script statement.

16. A method for test script transformation analysis for generating a transformed test script for a subsequent graphical user interface application (GAP) version arising from a current GAP version to test the subsequent GAP, the method comprising:

producing a graphical user interface (GUI) difference model capturing a GUI element change from the current GAP to the subsequent GAP for a specific GUI element;

receiving the GUI difference model;

receiving a current test script representation for a current test script for testing the current GAP, including a test script statement vector;

locating in an object repository, a GUI object entry matching the test script statement vector;

locating in the GUI difference model, a GUI element difference entry matching the GUI object entry;

analyzing the GUI element difference entry to determine whether the specific GUI element has changed; and

outputting a change specifier for the current test script, when the GUI element analysis determines that the GUI element has changed, where the change specifier identifies: either of a wrong path-delete type change guide message, or a wrong path-same type change guide message, or a changed-element type change guide message, or any combination thereof.

17. The method of claim 16 , wherein the wrong path-delete type change guide message indicates that a first GUI element of the current GAP version is deleted from the subsequent GAP version.

18. The method of claim 16 , wherein the wrong path-same type change guide message indicates that a first GUI element of the current GAP version and a second GUI element of the subsequent GAP version have matching identifiers, but the first and the second GUI elements do not represent the same GUI element.

19. The method of claim 16 , wherein the changed-element type change guide message indicates that a first GUI element of the current GAP version and a second GUI element of the subsequent GAP version have matching identifiers, but at least one attribute of the first GUI element and the second GUI element are different.

20. The method of claim 16 , further comprising analyzing the GUI element difference entry based on GUI element script change rules to determine whether to output the change specifier as a transformed test script statement.

21. The method of claim 16 , further comprising analyzing the GUI element difference entry based on GUI element script change rules to obtain the change specifier as a transformed test script statement.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 26, 2011
From: ACCENTURE GLOBAL SERVICES GMBH
To: ACCENTURE GLOBAL SERVICES LIMITED
Reel/Frame 025700/0287 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NAME OF THE ASIGNEE FROM "BRINKS HOFER GILSON & LIONE" TO "ACCENTURE GLOBAL SERVICES GMBH" PREVIOUSLY RECORDED ON REEL 020572 FRAME 0369. ASSIGNOR(S) HEREBY CONFIRMS THE CONVEYANCE TO ACCENTURE GLOBAL SERVICES GMBH. Recorded Jun 9, 2010
From: GRECHANIK, MARK; XIE, QING; FU, CHEN
To: ACCENTURE GLOBAL SERVICES GMBH
Reel/Frame 024509/0579 →
"CONFIRMATION OF SIGNATURE" Recorded Apr 18, 2008
From: GRECHANIK, MARK
To: ACCENTURE GLOBAL SERVICES GMBH
Reel/Frame 020826/0669 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 27, 2008
From: GRECHANICK, MARK; XIE, QING; FU, CHEN
To: BRINKS HOFER GILSON & LIONE
Reel/Frame 020572/0369 →
Continuity (1)
Related Publication 20090217303A1 · Aug 27, 2009