IP Library › Granted Patent US 8,612,806
Granted Patent B2
US 8,612,806 · App. 13/328,799 · Granted Dec 17, 2013

Systems and methods for recording user interactions within a target application

Inventor: Claude Rossi (Valbonne, FR)
Assignee: SAP AG
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,612,806
App. No.
13/328,799
Granted
Dec 17, 2013
Kind
B2
Abstract

A method includes executing instructions recorded on a non-transitory computer-readable storage media using at least one processor. The method includes receiving a notification of a selection of an user interface (UI) element within a UI of a target application, generating a request for an element listener instance, notifying multiple test recorder hooks of the request for the element listener instance, where each of the test recorder hooks is associated with a specific UI format having multiple different element listeners depending on a type of selected UI element, creating the element listener instance by one of the test recorder hooks based on the UI format and the selected UI element, registering, by the element listener instance, for events associated with the UI element and recording the events.

Claims (54)

1. A method including executing instructions recorded on a non-transitory computer-readable storage media using at least one processor, the method comprising:

receiving a notification of a selection of an user interface (UI) element within a UI of a target application;

generating a request for an element listener instance;

notifying multiple test recorder hooks of the request for the element listener instance, wherein each of the test recorder hooks is associated with a specific UI format having multiple different element listeners depending on a type of selected UI element;

creating the element listener instance by one of the test recorder hooks based on the UI format and the selected UI element;

registering, by the element listener instance, for events associated with the UI element; and

recording the events.

2. The method as in claim 1 wherein notifying the multiple test recorder hooks comprises iterating the request for the element listener instance through a list of registered test recorder hooks until one of the registered test recorder hooks returns the element listener instance.

3. The method as in claim 1 wherein creating the element listener instance comprises:

collecting information from a current UI context, and

using the current UI context to determine the element listener instance.

4. The method as in claim 1 wherein registering the events associated with the UI element comprises collecting information specific to the UI element to enable future playback of actions performed against the UI element in a generated test scenario.

5. The method as in claim 4 further comprising:

capturing semantics of the UI element within the UI of the target application; and

generating one or more tests having test components using the semantics.

6. The method as in claim 4 further comprising:

encapsulating the collected information and creating an instance of the encapsulated collected information; and

adding the instance of the encapsulated collected information to a repository to enable generation of the test scenario using the instance of the encapsulated collected information.

7. The method as in claim 1 further comprising highlighting the UI element for which the element listener instance was created.

8. A non-transitory computer-readable storage medium storing instructions that when executed cause a processor to perform a process, the instructions comprising instructions to:

receive a notification of a selection of an user interface (UI) element within a UI of a target application;

generate a request for an element listener instance;

notify multiple test recorder hooks of the request for the element listener instance, wherein each of the test recorder hooks is associated with a specific UI format having multiple different element listeners depending on a type of selected UI element;

create the element listener instance by one of the test recorder hooks based on the UI format and the selected UI element;

register, by the element listener instance, for events associated with the UI element; and

record the events.

9. The non-transitory computer-readable storage medium of claim 8 wherein the instructions to notify the multiple test recorder hooks comprise instructions to iterate the request for the element listener instance through a list of registered test recorder hooks until one of the registered test recorder hooks returns the element listener instance.

10. The non-transitory computer-readable storage medium of claim 8 wherein the instructions to create the element listener instance comprise instructions to:

collect information from a current UI context, and

use the current UI context to determine the element listener instance.

11. The non-transitory computer-readable storage medium of claim 8 wherein the instructions to register the events associated with the UI element comprise instructions to collect information specific to the UI element to enable future playback of actions performed against the UI element in a generated test scenario.

12. The non-transitory computer-readable storage medium of claim 11 further comprising instructions to:

capture semantics of the UI element within the UI of the target application; and

generate one or more tests having test components using the semantics.

13. The non-transitory computer-readable storage medium of claim 11 further comprising instructions to:

encapsulate the collected information and creating an instance of the encapsulated collected information; and

add the instance of the encapsulated collected information to a repository to enable generation of the test scenario using the instance of the encapsulated collected information.

14. The non-transitory computer-readable storage medium of claim 8 further comprising instructions to highlight the UI element for which the element listener instance was created.

15. A computer system including instructions stored on a non-transitory computer-readable storage medium, the computer system comprising:

a recorder interface configured to:

receive a notification of a selection of an user interface (UI) element within a UI of a target application,

generate a request for an element listener instance, and

notify multiple test recorder hooks of the request for the element listener instance;

multiple test recorder hooks, wherein each of the test recorder hooks is associated with a specific UI format having multiple different element listeners depending on a type of selected UI element and is configured to create the element listener instance based on the UI format and the selected UI element; and

the element listener instance configured to register for events associated with the UI element and to record the events.

16. The computer system of claim 15 wherein the recorder interface is configured to iterate the request for the element listener instance through a list of registered test recorder hooks until one of the registered test recorder hooks returns the element listener instance.

17. The computer system of claim 15 wherein the test recorder hook is configured to:

collect information from a current UI context, and

use the current UI context to determine the element listener instance.

18. The computer system of claim 15 wherein the element listener instance is configured to collect information specific to the UI element to enable future playback of actions performed against the UI element in a generated test scenario.

19. The computer system of claim 18 wherein the element listener instance is configured to capture semantics of the UI element with the UI of the target application and generate one or more tests having test components using the semantics.

20. The computer system of claim 18 further comprising an entry interface configured to:

encapsulate the collected information and create an instance of the encapsulated collected information; and

add the instance of the encapsulated collected information to a repository to enable generation of the test scenario using the instance of the encapsulated collected information.

Assignments (2)
CHANGE OF NAME Recorded Aug 26, 2014
From: SAP AG
To: SAP SE
Reel/Frame 033625/0334 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 19, 2012
From: ROSSI, CLAUDE
To: SAP AG
Reel/Frame 028591/0728 →
Continuity (1)
Related Publication 20130159784A1 · Jun 20, 2013