Mechanism for capturing high level events on user interface components
First Claim
1. A machine-implemented method, comprising:
- registering with a first user interface (UI) component to receive a notification when an event occurs on the first UI component;
receiving the notification from the first UI component when the event occurs on the first UI component, wherein the notification comprises event-specific information;
determining a component hierarchy using the first UI component, wherein the component hierarchy comprises the first UI component and a plurality of other UI components, wherein each one of the plurality of other UI components comprises the first UI component, and wherein the first UI component is directly related to at least one UI component in the plurality of other UI components;
creating a record of the event using the component hierarchy,wherein the record comprises at least a portion of the event-specific information, information indicating the first UI component as a target of the event, and component-specific information for each of the UI components in the component hierarchy,wherein the component-specific information for a UI component in the component hierarchy is obtained from the UI component, and wherein obtaining the component-specific information for the first UI component comprises determining a component type for the first UI component determining a plug-in module associated with the component type and invoking the plug-in module to obtain the component-specific information for the first UI component from the first UI component; and
storing the record in a manner that enables the record to be subsequently accessed.
2 Assignments
0 Petitions
Accused Products
Abstract
A recording mechanism is disclosed for automatically capturing high level events on user interface (UI) components of a set of software. In one implementation, the recording mechanism registers with a UI component to receive notification when an event occurs on the UI component. When an event does occur, the recording mechanism receives notification thereof from the UI component. In one implementation, the notification includes some high level event-specific information. After the notification is received, the recording mechanism creates and stores a record of the event, which includes at least a portion of the event-specific information, as well as information indicating the UI component as the target of the event. The record may further include information indicating a component hierarchy in which the UI component is contained. Overall, the record contains all of the information needed to reproduce the event on the UI component of the software at a later time.
-
Citations
23 Claims
-
1. A machine-implemented method, comprising:
-
registering with a first user interface (UI) component to receive a notification when an event occurs on the first UI component; receiving the notification from the first UI component when the event occurs on the first UI component, wherein the notification comprises event-specific information; determining a component hierarchy using the first UI component, wherein the component hierarchy comprises the first UI component and a plurality of other UI components, wherein each one of the plurality of other UI components comprises the first UI component, and wherein the first UI component is directly related to at least one UI component in the plurality of other UI components; creating a record of the event using the component hierarchy, wherein the record comprises at least a portion of the event-specific information, information indicating the first UI component as a target of the event, and component-specific information for each of the UI components in the component hierarchy, wherein the component-specific information for a UI component in the component hierarchy is obtained from the UI component, and wherein obtaining the component-specific information for the first UI component comprises determining a component type for the first UI component determining a plug-in module associated with the component type and invoking the plug-in module to obtain the component-specific information for the first UI component from the first UI component; and storing the record in a manner that enables the record to be subsequently accessed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A machine-implemented method, comprising:
-
registering with a first UI container to receive notification whenever a UI container is opened or closed within the first UI container; receiving notification from the first UI container that a second UI container has been opened within the first UI container, wherein the second UI container contains a UI component; registering a first listener module with the second UI container to receive notification whenever a UI container is opened or closed within the second UI container; registering a second listener module with the UI component to receive notification from the UI component when the event occurs on the UI component; receiving notification from the first UI container that the second UI container has been closed; and shutting down the first and second listener modules. - View Dependent Claims (11)
-
-
12. A machine-readable storage medium, comprising:
-
instructions for causing one or more processors to register with a first user interface (UI) component to receive a notification when an event occurs on the first UI component; instructions for causing one or more processors to receive the notification from the first UI component when the event occurs on the first UI component, wherein the notification comprises event-specific information; instructions for causing one or more processors to determine a component hierarchy using the first UI component, wherein the component hierarchy comprises the first UI component and a plurality of other UI components, wherein each one of the plurality of other UI components comprises the first UI component, and wherein the first UI component is directly related to at least one UI component in the plurality of other UI components; instructions for causing one or more processors to create a record of the event, wherein the record comprises at least a portion of the event-specific information, information indicating the first UI component as a target of the event, and component-specific information for each of the UI components in the component hierarchy, wherein the component-specific information for a UI component in the component hierarchy is obtained from the UI component, and wherein obtaining the component-specific information for the first UI component comprises determining a component type for the first UI component determining a plug-in module associated with the component type, and invoking the plug-in module to obtain the component-specific information for the first UI component from the first UI component; and instructions for causing one or more processors to store the record in a manner that enables the record to be subsequently accessed. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A machine-implemented machine-readable storage medium, comprising:
-
instructions for causing one or more processors to register with a first UI container to receive notification whenever a UI container is opened or closed within the first UI container; instructions for causing one or more processors to receive notification from the first UI container that a second UI container has been opened within the first UI container, wherein the second UI container contains a UI component; instructions for causing one or more processors to register a first listener module with the second UI container to receive notification whenever a UI container is opened or closed within the second UI containers instructions for registering a second listener module with the UI component to receive notification from the UI component when an event occurs on the UI component; instructions for receiving notification from the first UI container that the second UI container has been closed; and instructions for shutting down the first and second listener modules. - View Dependent Claims (23)
-
Specification