IP Library › Granted Patent US 10,936,475
Granted Patent B2
US 10,936,475 · App. 16/180,717 · Granted Mar 2, 2021

Automated scripting and testing system

Inventor: Jai Vignesh R (Chennai, IN)
Assignee: SAP SE
G06F11/3684G06F11/3688
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 10,936,475
App. No.
16/180,717
Granted
Mar 2, 2021
Kind
B2
Abstract

Disclosed herein are system, method, and computer program product embodiments for providing an automated scripting and testing system. An embodiment operates by receiving an interaction between a user and an application. It is determined that the received interaction corresponds to at least one stored interaction based on a comparison of the received interaction with one or more of a plurality of stored interactions. A count of stored corresponding interactions is incremented. It is determined that the count exceeds a threshold. A scripted interaction with the application is generated based on the received interaction and the at least one stored interaction. The scripted interaction is provided for testing the application.

Claims (62)

1. A computer-implemented method, comprising:

receiving an interaction between a user and an application, the received interaction comprising a selection of a function of the application by the user, wherein the application includes a feature that was not included in a previous version of the application, and the selection corresponds to the feature;

determining that the received interaction corresponds to at least one stored interaction based on a comparison of the received interaction with one or more of a plurality of stored interactions;

incrementing a count of stored corresponding interactions;

determining that the count exceeds a threshold;

generating a scripted interaction with the application based on the received interaction and the at least one stored interaction; and

providing the scripted interaction for testing the application.

2. The method of claim 1 , wherein the generating comprises:

updating an existing scripted interaction based on the received interaction.

3. The method of claim 1 , further comprising:

receiving updates to the provided scripted interaction submitted by a tester; and

providing the scripted interaction including the updates.

4. The method of claim 1 , wherein the receiving the interaction comprises:

identifying a display element corresponding to the selection; and

retrieving features of the display element.

5. The method of claim 4 , wherein the retrieving the features comprises:

retrieving the features of the display element upon the selection; and

retrieving the features of the display element or one or more other display elements after the selection.

6. The method of claim 1 , wherein the receiving the interaction comprises:

receiving eye focus data indicating where the user's eyes were focused at the time of interaction.

7. The method of claim 6 , further comprising:

receiving the eye focus data both upon and after the selection, wherein after the selection the user's eyes are focused outside of the application indicating a delay; and

adjusting the scripted interaction to account for the delay.

8. The method of claim 1 , wherein the receiving the interaction comprises:

receiving coordinates associated with the selection on a first device with a first screen size; and

normalizing the coordinates based on a normalized screen size,

wherein the determining that the received interaction corresponds to at least one stored interaction comprises comparing the normalized received coordinates to coordinates of one or more of the plurality of stored interactions, wherein at least one of the plurality of stored interactions is associated with a second screen size different from the first screen size.

9. A system, comprising:

a memory; and

at least one processor coupled to the memory and configured to:

receive an interaction between a user and an application, the received interaction comprising a selection of a function of the application by the user, wherein the application includes a feature that was not included in a previous version of the application, and the selection corresponds to the feature;

determine that the received interaction corresponds to at least one stored interaction based on a comparison of the received interaction with one or more of a plurality of stored interactions;

increment a count of stored corresponding interactions;

determine that the count exceeds a threshold;

generate a scripted interaction with the application based on the received interaction and the at least one stored interaction; and

provide the scripted interaction for testing the application.

10. The system of claim 9 , wherein the at least one processor that generates is configured to:

update an existing scripted interaction based on the received interaction.

11. The system of claim 9 , wherein the at least processor is further configured to:

receive updates to the provided scripted interaction submitted by a tester; and

provide the scripted interaction including the updates.

12. The system of claim 9 , wherein the at least one processor that receives is configured to:

identify a display element corresponding to the selection; and

retrieve features of the display element.

13. The system of claim 12 , wherein the at least one processor that retrieves the features is configured to:

retrieve the features of the display element upon the selection; and

retrieve the features of the display element or one or more other display elements after the selection.

14. The system of claim 9 , wherein the at least one processor that receives the interaction is configured to:

receive eye focus data indicating where the user's eyes were focused at the time of interaction.

15. The system of claim 14 , wherein the at least one processor is further configured to:

receive the eye focus data both upon and after the selection, wherein after the selection the user's eyes are focused outside of the application indicating a delay; and

adjust the scripted interaction to account for the delay.

16. The system of claim 14 , wherein the at least one processor that generates is configured to:

identify an automation tool configured to record a simulated user interaction based on the scripted interaction; and

generate the scripted interaction in a format associated with the automation tool.

17. A non-transitory computer-readable device having instructions stored thereon that, when executed by at least one computing device, cause the at least one computing device to perform operations comprising:

receiving an interaction between a user and an application, the received interaction comprising a selection of a function of the application by the user, wherein the application includes a feature that was not included in a previous version of the application, and the selection corresponds to the feature;

determining that the received interaction corresponds to at least one stored interaction based on a comparison of the received interaction with one or more of a plurality of stored interactions;

incrementing a count of stored corresponding interactions;

determining that the count exceeds a threshold;

generating a scripted interaction with the application based on the received interaction and the at least one stored interaction; and

providing the scripted interaction for testing the application.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 6, 2018
From: R, JAI VIGNESH
To: SAP SE
Reel/Frame 047421/0200 →
Continuity (1)
Related Publication 20200142816A1 · May 7, 2020