Automated testing of gesture-based applications

US9342237B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9342237-B2
Application numberUS-201213688243-A
CountryUS
Kind codeB2
Filing dateNov 29, 2012
Priority dateNov 12, 2012
Publication dateMay 17, 2016
Grant dateMay 17, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A technology for facilitating testing of a web application is provided. In some embodiments, a data file including recorded data of one or more recorded gesture-events is received. A test case is loaded with the recorded data. The one or more recorded gesture events are replayed in the test case and the web application is executed to generate test results.

First claim

Opening claim text (preview).

The invention claimed is: 1. A method of testing a web application, comprising: receiving, by a computer, a data file including recorded data of one or more gesture events performed by a user and recorded and replayed using one or more web elements on a test web page; loading, by the computer, a test case with the recorded data; replaying, by the computer, the one or more recorded gesture events in the test case and executing the web application to generate test results; and automatically verifying the test results by serializing states of the test case into strings and comparing the strings, wherein serializing the states of the test case comprises concatenating Hypertext Markup Language (HTML) Canvas application programming interface (API) commands into the strings. 2. The method of claim 1 wherein the one or more recorded gesture events comprise one or more recorded touch or multi-touch events. 3. The method of claim 1 wherein the recorded data comprises a timestamp, type, location, or a combination thereof, of the one or more recorded gesture events. 4. The method of claim 1 wherein loading the test case includes launching a test web page via a web browser. 5. The method of claim 4 wherein loading the test case includes initializing one or more native gesture events with the recorded data. 6. The method of claim 5 wherein replaying the one or more recorded gesture events comprises: attaching the one or more native gesture events to at least one target web element in the test web page; and triggering a native event listener associated with the target web element to execute the web application and generate the test results. 7. The method of claim 1 wherein replaying the one or more recorded gesture events comprises presenting a replay animation. 8. The method of claim 1 wherein at least one of the one or more web elements is labeled with a particular type of recorded gesture event to be replayed. 9. The method of claim 1 wherein automatically verifying the test results further comprises comparing screenshots in a replay animation. 10. The method of claim 1 wherein the states of the test case are obtained prior to and after the replaying. 11. The method of claim 1 further comprising restoring the test case to its original state. 12. The method of claim 1 wherein receiving the data file comprises receiving the data file from a server in response to a request from the computer. 13. The method of claim 1 further comprising recording, at a client device, data of the one or more gesture events. 14. The method of claim 13 further comprising parsing, at the client device, the recorded data into an event file. 15. The method of claim 14 further comprising sending, by the client device, the event file to a server, wherein the server, the client device and the computer are communicatively coupled through a network. 16. The method of claim 13 wherein recording the data comprises: registering an event listener under a target web element in a test web page; and invoking the event listener to record the data in response to detecting a new gesture event within the target web element. 17. A non-transitory computer-readable medium having stored thereon program code, the program code executable by a computer to: receive a data file including recorded data of one or more gesture events performed by a user and recorded and replayed using one or more web elements on a test web page; load a test case with the recorded data; replay the one or more recorded gesture events in the test case and execute a web application to generate test results; and automatically verify the test results by serializing states of the test case into strings and comparing the strings, wherein serializing the states of the test case comprises concatenating Hypertext Markup Language (HTML) Canvas application programming interface (API) commands into the strings. 18. A system comprising: a non-transitory memory device for storing computer-readable program code; and a processor in communication with the memory device, the processor being operative with the computer-readable program code to: receive a data file including recorded data of one or more gesture events performed by a user and recorded and replayed using one or more web elements on a test web page, load a test case with the recorded data, replay the one or more recorded gesture events in the test case and execute a web application to generate test results, and automatically verify the test results by serializing states of the test case into strings and comparing the strings, wherein serializing the states of the test case comprises concatenating Hypertext Markup Language (HTML) Canvas application programming interface (API) commands into the strings.

Assignees

Inventors

Classifications

  • for test execution, e.g. scheduling of test suites · CPC title

  • for inputting data by handwriting, e.g. gesture or text · CPC title

  • Physics · mapped topic

  • Physics · mapped topic

  • Information retrieval; Database structures therefor; File system structures therefor · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9342237B2 cover?
A technology for facilitating testing of a web application is provided. In some embodiments, a data file including recorded data of one or more recorded gesture-events is received. A test case is loaded with the recorded data. The one or more recorded gesture events are replayed in the test case and the web application is executed to generate test results.
Who is the assignee on this patent?
Sap Ag, Sap Se
What technology area does this patent fall under?
Primary CPC classification G06F3/04883. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue May 17 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).