Patent ID: 7913231
Filing Date: 2011-03-22
Classification: G06F

Abstract:
1. A computer program product, tangibly embodied in a storage device, for testing pattern-based applications, the computer program product comprising instructions operable to cause data processing apparatus to: receive a test script for a pattern, the pattern including a predefined layout of user interface elements and specifying predefined actions that can be performed using the user interface elements, wherein the pattern has a general semantic meaning and is configurable into multiple specific user interfaces, the test script specifying test sequences that invoke, without user interactions, one or more of the predefined actions that can be performed using the user interface elements, wherein the test sequences include test data for testing the multiple specific user interfaces according to the general semantic meaning of the pattern; receive a specification of an application, wherein the application includes a specific user interface configured from the pattern, the specification of the application comprising application-specific configuration data for the pattern, the application-specific configuration data specifying associations between one or more of the user interface elements and one or more entities in a back-end system configured to process outputs of the one or more user interface elements; and generate an application-specific test based on the test script and the specification of the application, wherein the application-specific test selects, from the test data for testing the multiple specific user interfaces, at least a portion of the test data according to the application-specific configuration data such that the application-specific test invokes, without user interactions, one or more of the predefined actions operating on the entities in the back-end system with which the user interface elements are associated.