Android APP-based automatic exploration testing method and system

A test method, Android technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as meaningless work, ineffective avoidance, and meaningless operations, so as to facilitate improvement and improve testing Efficiency and the effect of reducing the failure rate

Inactive Publication Date: 2018-02-09
SUZHOU LANGDONG NET TEC CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. It is impossible to effectively avoid some events that should not be triggered. For example, when there are function buttons for making calls, sending emails or comments on the current interface of the tested APP, the Monkey test will trigger these functions, causing unnecessary trouble.
[0004] 2. When the APP crashes, the exploratory test cannot be continued;
[0005] 3. When the APP exits, the exploratory test cannot be continued. When the Monkey test triggers the APP’s return button multiple times, it will fall back to the mobile desktop, and the next series of test actions will do meaningless work;
[0006] 4. When a third-party APP is triggered, it cannot be effectively rolled back. For example, when functions such as sharing and payment are triggered, this function will be executed. These functions do not belong to the functions of testing the APP, so these operations are meaningless operations
[0007] To sum up, the current Android APP testing tools still have the problems of imperfect functions and low efficiency.

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
  • Android APP-based automatic exploration testing method and system
  • Android APP-based automatic exploration testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0028] The present invention provides an automated exploratory testing method and system based on an Android APP. Its working principle is to analyze the functional elements of the APP to be tested, formulate the rules of the exploratory test, and restore and record the abnormalities that occur during the test, so as to achieve Android APP implements the avoidance and recovery of abnormalities in the process of automatic exploration and testing, and the purpose of efficient testing.

[0029] The present invention will be described in further detail below in conjunction with examples and specific implementation methods.

[0030] Such as figure 1 As shown, a method for automated exploratory testing based on Android APP, comprising: analyzing the APP to be tested, obtaining and...

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 an Android APP-based automatic exploration testing method and system. The method includes: analyzing a to-be-tested APP, acquiring attribute information of the to-be-tested APP, and storing the same; formulating a corresponding exploration testing rule according to the attribute information; defining anomalies and formulating recovery mechanisms after anomaly occurrence according to the attribute information; executing an unattended exploratory testing; recursively processing generated operation instructions; if a constraint condition is triggered, stopping downward testing, and jumping to same-level testing or returning to a previous step; if the APP anomaly is triggered, executing the recovery mechanism, recording the anomaly, and continuing to execute exploratorytesting; and recording a testing process and result in a form of a file or an image in a process of executing exploratory testing. According to the method, efficiency of APP testing is effectively improved, and operations which are unnecessary to occur in testing are avoided.

Description

technical field [0001] The invention relates to the field of Android APP testing, in particular to an Android APP-based automatic exploration testing method and system. Background technique [0002] The current mainstream exploratory testing for Android APP is mainly done through Monkey testing. During the long-term testing process of the random command of this tool, there will be the following problems: [0003] 1. It is impossible to effectively avoid some events that should not be triggered. For example, when there are function buttons for making calls, sending emails or comments on the current interface of the tested APP, the Monkey test will trigger these functions, causing unnecessary trouble. [0004] 2. When the APP crashes, the exploratory test cannot be continued; [0005] 3. When the APP exits, the exploratory test cannot be continued. When the Monkey test triggers the APP’s return button multiple times, it will fall back to the mobile desktop, and the next seri...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3612G06F11/3688
Inventor 朱正亮
Owner SUZHOU LANGDONG NET TEC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products