Automatic test method based on Android

A technology of automated testing and testing procedures, applied in the field of testing, can solve problems such as high cost, long time, and low efficiency, and achieve good compatibility, good scalability, and improved testing efficiency

Active Publication Date: 2011-08-03
GUANGDONG OPPO MOBILE TELECOMM CORP LTD
View PDF1 Cites 56 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When traditional mobile phones perform various automated tests, they use computers for testing, and manual monitoring is required throughout the process.

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
  • Automatic test method based on Android
  • Automatic test method based on Android

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0014] The main purpose of the present invention is to overcome the shortcomings of the prior art and provide an automated test method based on Android. The monkey method of android is invoked by integrating the principle of android internal shell instructions to realize the simulation of manual operation by the device on the mobile phone side and form reliable software Stability test system. Coding various test programs, including software automated testing programs, document management automated testing programs, and outfield automated testing programs, etc. The coded program can randomly call various testing programs and perform automated testing to form an automated testing system. All kinds of test procedures are concentrated in a framework, and all kinds of procedures can be called for automated testing at any time. Compile the written code through the compilation environment on Linux to form an executable file installation package that can be installed on the mobile phon...

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 automatic test method based on Android, which comprises the following steps: 1. calling various test programs and internal shell commands of Android; 2. encoding the various test programs and the internal shell commands; 3. after encoding, forming a series of test sequences which can be called randomly and generating corresponding test events; 4. after the encoding is finished, reserving a storage space for compiling expand interface programs; 5. compiling codes in a Linux compiling environment to form an executable file; and 6. carrying out a random test on the various test programs by the executable file during the test through calling the monkey random test command of the Android. The automatic test method disclosed by the invention is simple and convenient to operate, integrates various automatic tests, can carry out an automatic test only through a mobile phone and has high efficiency.

Description

technical field [0001] The invention relates to a testing method, in particular to an Android-based automated testing method. Background technique [0002] When traditional mobile phones perform various automated tests, they use computers for testing, and manual monitoring is required throughout the process. When testing various test programs, after testing a program, you need to input the next program to be tested, which takes a long time. The efficiency is low and the cost is high. Contents of the invention [0003] The purpose of the present invention is to overcome the deficiencies of the prior art, and provide an Android-based automated testing method, which is simple and convenient to operate, and integrates various automated tests, and only needs a mobile phone to perform automated testing, with high efficiency. [0004] In order to achieve the above object, the technical solution adopted in the present invention is an Android-based automated testing method, the st...

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 GUANGDONG OPPO MOBILE TELECOMM CORP 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