Automated Gesture Testing via Recorded Event Replay
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Manual testing of multi-touch gesture events in web applications is tedious, error-prone, and costly, with limited automated testing tools available, making it difficult to reproduce and maintain tests efficiently.
Innovation Solution
A computer-implemented system that records and replays gesture events, using real data to simulate any type of gesture input, including multi-touch gestures, allowing for automated testing of web applications by formatting and storing recorded data for subsequent retrieval and use in triggering gesture events on a test device supporting W3C standard touch events.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If manual testing is used for multi-touch gesture events in web applications, then testing can be performed without specialized tools, but the process becomes tedious, error-prone, and costly
Solution Approach 1:
The system records actual gesture events from user interactions and creates replayable data files that capture the essence of manual testing. These recorded gesture sequences can be automatically replayed multiple times, eliminating the need for repetitive manual testing while maintaining testing accuracy and reliability.
Solution Approach 2:
The testing system performs self-testing by automatically replaying recorded gesture events and executing test cases without requiring continuous human intervention. The system can autonomously execute, track, and report test results, significantly reducing both time and cost while maintaining reliability.
2Productivity
If automated testing tools are developed for multi-touch gestures, then testing efficiency improves, but device complexity increases due to lack of native support and APIs
Solution Approach 1:
The system introduces a gesture recording and replay mechanism that acts as an intermediary layer between the web application and the testing framework. This mediator captures gesture events through standard web APIs and replays them in a controlled manner, enabling automated testing without requiring complex native support or specialized device APIs.
Solution Approach 2:
The testing system is designed to work with standard web technologies and can replay recorded gestures across different web browsers and platforms. By using universal web standards rather than device-specific APIs, the system achieves high productivity without increasing device complexity.
3Reliability
If tests are created manually for gesture events, then testing can be performed, but the tests become difficult to reproduce and maintain
Solution Approach 1:
Instead of manually creating test scripts, the system records actual gesture events and stores them as replayable data files. These recorded gestures serve as reusable test assets that can be easily copied, stored, and replayed across different testing scenarios, significantly improving reproducibility and reducing maintenance burden.
Solution Approach 2:
The system performs preliminary recording of gesture events that can be reused across multiple test cases. By capturing gesture data in advance and storing it in a standardized format, the system enables easy reproduction and maintenance of tests without requiring manual recreation for each test scenario.
Data Source
AI summary
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.


