Patent ID: 8370814

Claim:
A method for testing a target application (TAP) based on a graphical user interface application (GAP), comprising: determining a TAP data parameter and a TAP return value parameter; generating a test user interface comprising the TAP data parameter and the TAP return value parameter; retrieving from memory a GAP state definition for the GAP captured through an accessibility layer and comprising a graphical user interface (GUI) element of a GAP screen, the GAP state definition comprising a function type comprising: an action producer function type specifying an action producer function type value and operable to cause a GAP state change to occur where the action producer function type value changes from a first value to a second value; or an input data acceptor function type operable to receive input data from containers comprising edit boxes; or an output data retriever function type operable to retrieve data from containers comprising listviews and edit boxes; or a state checkpoint function type operable to convey the GAP GUI screen state to the test framework, where the GAP GUI screen state comprises an exception state, an intermediate state, and final state; or any combination thereof; and establishing in memory a test framework for testing the TAP through the test user interface the test framework comprising a test case comprising: a test data element associated with the GUI element for sending test data to the TAP data parameter; and a test return value responsive to the TAP return value parameter and application of the test data element to the TAP.