Unlock instant, AI-driven research and patent intelligence for your innovation.

Mobile application testing method on basis of playback of execution trace of users

A technology of mobile application and testing method, applied in the direction of software testing/debugging, etc., to achieve the effect of enhancing coverage, improving testing efficiency and quality

Active Publication Date: 2014-11-19
NANJING UNIV
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Aiming at the problems existing in the prior art, the present invention provides a testing method based on user execution trace replay, which can make up for the deficiency of the fully automatic method, utilize a small amount of user information, handle complex interaction problems that cannot be solved by the automatic method, and enhance the code coverage, thereby improving test efficiency and quality

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Mobile application testing method on basis of playback of execution trace of users
  • Mobile application testing method on basis of playback of execution trace of users
  • Mobile application testing method on basis of playback of execution trace of users

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The technical solutions of the present invention will be further described through specific embodiments below in conjunction with the accompanying drawings.

[0026] Such as figure 1 , figure 2 , image 3 as shown, figure 1 Working principle of the invention Figure 1 ; figure 2 Working principle of the invention Figure II ; image 3 Working principle of the invention Figure three ;The tree in the figure represents the state space of the application to be tested; the circle represents the program state; the edge represents various interactions, including clicking buttons, drawing unlock patterns, etc. figure 1 Indicates a collected user execution, 101-106 in the figure represents a user execution trace; the shaded part 107 indicates that the user execution covers five points; figure 2 In the case of a purely automated method, limited by the complex interaction represented by the dotted line 110, the automated method can only traverse half of the points, as ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a mobile application testing method on the basis of playback of execution trace of users. The mobile application testing method includes steps of recording an execution trace of a certain mobile application of a user; analyzing the execution trace and determining a plurality of stop points; playing back the execution trace of the application to a certain stop point; implanting an automatic testing method from the stop points. An automatic test process is guided by a handful of user execution trace information, the defect that automation method fails to process complicated interaction is overcome by a simple and feasible method, coverage rate of codes is greatly increased, and testing efficiency and quality are improved.

Description

technical field [0001] The invention relates to the field of mobile application testing, in particular to a testing method based on user execution trace playback. Background technique [0002] Currently, testing methods for mobile applications mainly include two categories: manual testing and automatic testing. Manual testing relies entirely on manpower to generate various types of test cases. Although it can use human power to obtain valuable test cases and achieve better test results. But long-term testing will make testers feel boring and error-prone. Automated testing can be roughly divided into Monkey tools and model-based testing methods. Monkey is a tool that comes with the Android system to randomly generate input events. This tool cannot meet the need to generate a large number of valid test cases. The model-based method constructs a GUI-related model and sequentially traverses each interface that can be reached by simple interaction, which improves the test ef...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/36
Inventor 马晓星许畅吕建李秀江蒋炎岩
Owner NANJING UNIV