EVENT SET RECORDING
First Claim
1. A method for recording an event set from a user interface, comprising:
- injecting one or more monitoring wrapper functions in the user interface instructions, the one or more monitoring wrapper functions comprising;
a first monitoring wrapper function configured to record a first state of an event generator; and
a second monitoring wrapper function configured to;
record a second state of an event generator; and
send the first state and the second state to a recording engine;
associating a first reference to the one or more monitoring wrapper functions with one or more event handlers; and
associating a second reference to the one or more monitoring wrapper functions, subsequent to the first reference, with the one or more event handlers, comprising;
at least one set of instructions between the first reference and the second reference in the event handler.
2 Assignments
0 Petitions
Accused Products
Abstract
Recording of functional steps resulting from actions in an application is desirable for performing functional testing or user interface automation of an application. However, certain events that may result from actions occurring in an application are often difficult to record, which may lead to playback failure. Further, a user'"'"'s intent when performing an action is difficult to determine. In order to obtain effective playback, a reliable and efficient recording of an application'"'"'s functional steps needs to occur. Injecting wrapper functions into an application and monitoring an event generator'"'"'s state before and after an action has occurred may yield more reliable and effective results.
-
Citations
20 Claims
-
1. A method for recording an event set from a user interface, comprising:
-
injecting one or more monitoring wrapper functions in the user interface instructions, the one or more monitoring wrapper functions comprising; a first monitoring wrapper function configured to record a first state of an event generator; and a second monitoring wrapper function configured to; record a second state of an event generator; and send the first state and the second state to a recording engine; associating a first reference to the one or more monitoring wrapper functions with one or more event handlers; and associating a second reference to the one or more monitoring wrapper functions, subsequent to the first reference, with the one or more event handlers, comprising; at least one set of instructions between the first reference and the second reference in the event handler. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A system configured to record an event set from a user interface, comprising:
-
an instruction injector configured to inject monitoring wrapper function instructions into the user interface instructions, the monitoring wrapper function instructions comprising; a first monitoring wrapper function configured to record a first state of an event generator; and a second monitoring wrapper function configured to; record a second state of an event generator; and send the first state and the second state to a recording engine; an event handler monitoring wrapper generator configured to; associate a first reference to the one or more monitoring wrapper functions with one or more event handlers; and associate a second reference to the one or more monitoring wrapper functions, subsequent to the first reference, with the one or more event handlers, the second reference comprising; at least one set of instructions between the first reference and the second reference in the event handler. - View Dependent Claims (18, 19)
-
-
20. A method for recording an event set from a user interface, comprising:
-
for one or more event generators, replacing instructions that determine event handler registration and deregistration with new event handler registration and deregistration instructions; upon invocation of an event upon one or more event generators, generating one or more monitoring wrapper functions for one or more event handlers; injecting one or more monitoring wrapper functions in the user interface instructions, the one or more monitoring wrapper functions comprising; a first monitoring wrapper function configured to record a first state of an event generator; and a second monitoring wrapper function configured to; record a second state of an event generator; and send the first state and the second state to a recording engine; associating a first reference to the one or more monitoring wrapper functions with one or more event handlers; associating a second reference to the one or more monitoring wrapper functions, subsequent to the first reference, with the one or more event handlers, comprising; at least one set of instructions between the first reference and the second reference in the event handler; and storing the called one or more references to the one or more event handler functions and the one or more references to the one or more monitoring wrapper functions.
-
Specification