IP Library › Granted Patent US 10,719,430
Granted Patent B2
US 10,719,430 · App. 15/949,377 · Granted Jul 21, 2020

Sketch-guided GUI test generation for mobile applications

Inventors: Enyi Tang (Nanjing, CN); Linzhang Wang (Nanjing, CN); Chucheng Zhang (Nanjing, CN); Haoliang Cheng (Nanjing, CN); Xin Chen (Nanjing, CN); Xuandong Li (Nanjing, CN)
Assignee: NANJING UNIVERSITY
G06F11/3688G06F3/0488G06F3/04883G06F11/3672G06F11/3684G06F3/0486G06F3/04812
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,719,430
App. No.
15/949,377
Granted
Jul 21, 2020
Kind
B2
Abstract

A testing system for testing a touch screen graphical user interface is disclosed. The testing system includes a touch screen for displaying the graphical user interface under test and for receiving a first plurality of touch inputs from at least one user, a first module for recognizing the first plurality of touch inputs received by the touch screen as a second plurality of data structures, a second module for receiving the second plurality of data structures from the first module and constructing at least one test model, a third module for generating a third plurality of test cases based on the at least one test model constructed by the second module, and a fourth module for executing the third plurality of test cases generated by the third module.

Claims (48)

1. A testing system for testing a touch screen graphical user interface, the testing system comprising:

a touch screen for displaying the graphical user interface under test and for receiving a first plurality of touch inputs from at least one user;

a sketching and recognition module for recognizing the first plurality of touch inputs received by the touch screen as a first plurality of data structures;

a model construction module for receiving the first plurality of data structures from the sketching and recognition module and constructing at least one test model;

a test generation module for generating a first plurality of test cases based on the at least one test model constructed by the model construction module; and

a testing and case complement module for executing the first plurality of test cases generated by the test generation module,

wherein the first plurality of touch inputs comprises at least one logic stroke, and

wherein the at least one logic stroke is selected from the group consisting of: a forall constraint, a recursive forall constraint, a forsome constraint, and combinations thereof.

2. The system of claim 1 , wherein the first plurality of touch inputs comprises at least one action stroke.

3. The system of claim 2 , wherein the at least one action stroke comprises a click operation.

4. The system of claim 2 , wherein the at least one action stroke comprises a long-click operation.

5. The system of claim 2 , wherein the at least one action stroke comprises a drag operation.

6. The system of claim 1 , wherein the first plurality of touch inputs comprises at least one range stroke.

7. The system of claim 6 , wherein the at least one range stroke comprises a regular curve.

8. The system of claim 6 , wherein the at least one range stroke comprises an irregular curve.

9. The system of claim 1 , wherein the at least one test model is image-based logic-related state transition system model.

10. The system of claim 1 , wherein the test generation module generates the first plurality of test cases using depth-first traversal strategy.

11. The system of claim 1 , wherein the test generation module generates the first plurality of test cases using width-first traversal strategy.

12. A testing system for testing a touch screen graphical user interface, the testing system comprising:

a touch screen for displaying the graphical user interface under test and for receiving a first plurality of touch inputs from at least one user;

a sketching and recognition module for recognizing the first plurality of touch inputs received by the touch screen as a first plurality of data structures;

a model construction module for receiving the first plurality of data structures from the sketching and recognition module and constructing at least one test model;

a test generation module for generating a first plurality of test cases based on the at least one test model constructed by the model construction module; and

a testing and case complement module for executing the first plurality of test cases generated by the test generation module,

wherein the test generation module generates the first plurality of test cases using unexplored-first exploration strategy.

13. The system of claim 1 , wherein the test generation module generates the first plurality of test cases using random selection strategy.

14. A testing system for testing a touch screen graphical user interface, the testing system comprising:

a touch screen for displaying the graphical user interface under test and for receiving a first plurality of touch inputs from at least one user;

a sketching and recognition module for recognizing the first plurality of touch inputs received by the touch screen as a first plurality of data structures;

a model construction module for receiving the first plurality of data structures from the sketching and recognition module and constructing at least one test model;

a test generation module for generating a first plurality of test cases based on the at least one test model constructed by the model construction module; and

a testing and case complement module for executing the first plurality of test cases generated by the test generation module,

wherein the first plurality of touch inputs comprises at least one logic stroke, and

wherein the at least one logic stroke is selected from the group consisting of: an AND, an OR, a NOT, and combinations thereof.

15. The system of claim 14 , wherein the first plurality of touch inputs comprises at least one action stroke.

16. The system of claim 15 , wherein the at least one action stroke is selected from the group consisting of: a click operation, a long click operation, a drag operation, and combinations thereof.

17. The system of claim 14 , wherein the first plurality of touch inputs comprises at least one range stroke.

18. The system of claim 17 , wherein the at least one range stroke is selected from the group consisting of: a regular curve, an irregular curve, and combinations thereof.

19. The system of claim 14 , wherein the at least one test model is image-based logic-related state transition system model.

20. The system of claim 14 , wherein the test generation module generates the first plurality of test cases using at least one of depth-first traversal strategy and width-first traversal strategy.

21. The system of claim 14 , wherein the test generation module generates the first plurality of test cases using random selection strategy.

22. The system of claim 12 , wherein the first plurality of touch inputs comprises at least one action stroke.

23. The system of claim 22 , wherein the at least one action stroke is selected from the group consisting of: a click operation, a long click operation, a drag operation, and combinations thereof.

24. The system of claim 12 , wherein the first plurality of touch inputs comprises at least one range stroke.

25. The system of claim 24 , wherein the at least one range stroke is selected from the group consisting of: a regular curve, an irregular curve, and combinations thereof.

26. The system of claim 12 , wherein the at least one test model is image-based logic-related state transition system model.

27. The system of claim 12 , wherein the test generation module generates the first plurality of test cases using at least one of depth-first traversal strategy and width-first traversal strategy.

28. The system of claim 12 , wherein the test generation module generates the first plurality of test cases using random selection strategy.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 12, 2019
From: TANG, ENYI; WANG, LINZHANG; ZHANG, CHUCHENG; CHENG, HAOLIANG; CHEN, XIN; LI, XUANDONG
To: NANJING UNIVERSITY
Reel/Frame 050021/0132 →
Continuity (2)
Provisional Application 62524781 · Jun 26, 2017
Related Publication 20180373621A1 · Dec 27, 2018