IP Library Granted Patent US 8,918,760
Granted Patent B2
US 8,918,760 · App. 13/708,845 · Granted Dec 23, 2014

Test script generation for application image validation

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,918,760
App. No.
13/708,845
Granted
Dec 23, 2014
Kind
B2
Abstract

Embodiments of the present invention provide a method, system and computer program product for automated test script generation for application image validation. In an embodiment of the invention, a method of automated test script generation for application image validation is provided. The method can include parsing different modules of an existing image of a customized form of a base application to identify graphical user interface (GUI) elements in different screens of each of the different modules and cataloguing in a GUI element catalog, different GUI elements identified during parsing. The method also can include generating test scripts from the GUI element catalog. Finally, the method can include applying the generated test scripts to a new image of the customized form of the base application.

Claims (30)

1. A method of automated test script generation for application image validation, the method comprising:

parsing source code of different modules of an existing image of a customized form of a base application to identify in the source code graphical user interface (GUI) elements in different screens of each of the different modules;

cataloguing in a GUI element catalog, different GUI elements identified during parsing;

generating a plurality of test scripts from the GUI element catalog; and,

applying the generated test scripts to a new image of the customized form of the base application.

2. The method of claim 1 , wherein the GUI element catalog comprises a list of GUI elements in each module, names for the GUI elements, types for the GUI elements and sample data.

3. The method of claim 2 , wherein the list of GUI elements also indicates an arrangement of the GUI elements with respect to one another in different screens of the modules.

4. The method of claim 2 , wherein the list of GUI elements also indicates positional and functional interrelationships between the different modules.

5. The method of claim 1 , wherein a test script is generated for each of the modules and a corresponding delete script is generated for each test script, each delete script providing directives to undo data manipulations in the new image resulting from the application of a corresponding test script.

6. The method of claim 1 , wherein the GUI element catalog comprises a line of comma separated values for each GUI element in each module, each comma separated value of a line corresponding respectively to a name, type, location, relationship, and sample data for a corresponding GUI element.

7. A testing tool data processing system comprising:

a host computing system;

a testing tool executing in memory of the host computing system and configured to apply generated test scripts to a new image of a customized form of a base application; and,

a test script generator module coupled to the testing tool, the module comprising program code enabled upon execution in the memory of the host computing system to parse source code of different modules of an existing image of a customized form of a base application to identify in the source code graphical user interface (GUI) elements in different screens of each of the different modules, to catalog in a GUI element catalog, different GUI elements identified during parsing and to generate a plurality of test scripts from the GUI element catalog.

8. The system of claim 7 , wherein the GUI element catalog comprises a list of GUI elements in each module, names for the GUI elements, types for the GUI elements and sample data.

9. The system of claim 8 , wherein the list of GUI elements also indicates an arrangement of the GUI elements with respect to one another in different screens of the modules.

10. The system of claim 8 , wherein the list of GUI elements also indicates positional and functional interrelationships between the different modules.

11. The system of claim 7 , wherein a test script is generated for each of the modules and a corresponding delete script is generated for each test script, each delete script providing directives to undo data manipulations in the new image resulting from the application of a corresponding test script.

12. The system of claim 7 , wherein the GUI element catalog comprises a line of comma separated values for each GUI element in each module, each comma separated value of a line corresponding respectively to a name, type, location, interrelationship and sample data for a corresponding GUI element.

13. A computer program product for automated test script generation for application image validation, the computer program product comprising:

a computer readable storage medium comprising a memory device having computer readable program code embodied therewith, the computer readable program code comprising:

computer readable program code for parsing source code of different modules of an existing image of a customized form of a base application to identify in the source code graphical user interface (GUI) elements in different screens of each of the different modules;

computer readable program code for cataloguing in a GUI element catalog, different GUI elements identified during parsing;

computer readable program code for generating a plurality of test scripts from the GUI element catalog; and,

computer readable program code for applying the generated test scripts to a new image of the customized form of the base application.

14. The computer program product of claim 13 , wherein the GUI element catalog comprises a list of GUI elements in each module, names for the GUI elements, types for the GUI elements and sample data.

15. The computer program product of claim 14 , wherein the list of GUI elements also indicates an arrangement of the GUI elements with respect to one another in different screens of the modules.

16. The computer program product of claim 14 , wherein the list of GUI elements also indicates positional and functional interrelationships between the different modules.

17. The computer program product of claim 13 , wherein a test script is generated for each of the modules and a corresponding delete script is generated for each test script, each delete script providing directives to undo data manipulations in the new image resulting from the application of a corresponding test script.

18. The computer program product of claim 13 , wherein the GUI element catalog comprises a line of comma separated values for each GUI element in each module, each comma separated value of a line corresponding respectively to a name, type, location, interrelationship and sample data for a corresponding GUI element.

Assignments (2)
SECURITY INTEREST Recorded Jul 31, 2018
From: SUGARCRM INC., AS GRANTOR
To: GOLDMAN SACHS SPECIALTY LENDING GROUP, L.P., AS COLLATERAL AGENT
Reel/Frame 046673/0434 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 7, 2012
From: AUGUSTIN, LARRY; TRETIKOV, LILA; ZHOU, RAN; SAFAR, DAVID
To: SUGARCRM INC.
Reel/Frame 029430/0620 →