Automated testing method and device for stability of Android system

An automated testing, Android system technology, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as difficult to analyze performance hidden dangers

Active Publication Date: 2017-05-10
WUHAN DOUYU NETWORK TECH CO LTD
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to this randomness, the traditional Monkey test can only be used as a stability test tool
I

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
  • Automated testing method and device for stability of Android system
  • Automated testing method and device for stability of Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0036] see figure 1 As shown, the embodiment of the present invention provides an automated testing method for the stability of the Android system, comprising the following steps:

[0037] S1, use the Java language to set up an Android Test Project (Android Test Project) project;

[0038] S2. Import the lib (static library) required by Advanced Monkey, robotium-solo.jar and douyu-common.jar, the function realized by the douyu-common.jar package is to accurately identify the operations on the page and avoid invalid clicks;

[0039] Generally, there will be a fixed entry when entering a module, and exiting this module will also return to this fixed entry interface. Add a judgment, that is, check whether the current interface is the interface after each operation, and if so, click the entry control, return to this module, and continue ...

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 automated testing method and device for the stability of the Android system and relates to the field of Android testing. The method comprises the following steps of building an Android testing project engineering; inputting the Android testing project engineering in a static library; modifying a configuration file of the Android testing project engineering; in the test code directory of the Android testing project engineering, creating a new JUnit test case, implanting a script managed by performance data, obtaining a memory and CPU information of a current mobile terminal, and sending out the obtained memory and CPU information as dynamic broadcasting files through broadcast messages, and recording the dynamic broadcasting files in a local file of the mobile terminal; adding a configuration item which supports a checklist; performing the configuration item; collecting the dynamic broadcasting files during testing, processing the dynamic broadcasting files into static files and storing the static files in the local, after the testing is completed, generating a report and uploading the report to a WEB server, and generating a basic property report and crash information through the WEB server; displaying the information of the basic property report. According to the automated testing method and device, performance hazards can be analyzed out.

Description

technical field [0001] The invention relates to the field of Android testing, in particular to an automatic testing method and device for the stability of an Android system. Background technique [0002] Stability test is an important test in the dedicated line test of mobile terminal products. It refers to repeated and long-term operation of mobile terminal products for a long period of time (usually not less than 8 hours), and under this stress test Whether the system resources are occupied abnormally is an important quality standard for the release and launch of mobile products. [0003] In Android (Android) automated testing, sometimes it is necessary to perform a stress test on a software to check the performance of the software. If it is tested manually, the efficiency will be much lower, and it will be boring. At this time, Monkey, a command-line tool in the Android system, can relieve a lot of repetitive and tedious work. Monkey is a stability and stress testing t...

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
CPCG06F11/3612G06F11/3688
Inventor 丁萍
Owner WUHAN DOUYU NETWORK TECH 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