Patent ID: 8140986
Filing Date: 2012-03-20
Classification: G06F

Abstract:
1. An article of manufacture including code to perform operations related to testing a graphical user interface (GUI) program, the operations comprising: receiving user input defining a plurality of triggers for the GUI program, wherein each trigger associates a user GUI action representing an action a user performs with an input device on the GUI and a GUI object representing a displayed GUI component on which the associated GUI action is performed, wherein execution of the GUI action on the GUI object defined in the trigger causes a shift in a state of the GUI program from one static state to another, and wherein the defined triggers are enabled for reuse in multiple test scenarios; receiving user input indicating a first order of at least one of the triggers to test a first scenario of operations of the GUI program, wherein the GUI program executes the GUI actions with respect to the GUI objects defined in the triggers in the indicated first order; receiving user input indicating a second order of at least one of the triggers to test a second scenario of operations of the GUI program, wherein the GUI program executes the GUI actions with respect to the GUI objects defined in the triggers in the indicated second order, and wherein at least one of the triggers indicated for the second scenario reuses at least one trigger indicated for the first scenario; receiving user input indicating a verification set comprising at least one verification point associated with a GUI state, wherein each verification point in the verification set indicates a verification operation to verify the GUI elements represented at the associated GUI state resulting from the GUI action indicated in one of the triggers; executing the triggers defined in the first and second orders to produce GUI states; and determining whether GUI elements rendered in the produced GUI states satisfy results expected by the verification point tests to test the GUI program.