Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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. When testing various test programs, after testing a program, you need to input the next program to be tested, which takes a long time. Inefficient and expensive

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

Embodiment Construction

[0014] The gist of the present invention is to overcome the deficiencies in the prior art, provide a kind of automatic testing method based on Android, call the monkey method of Android by integrating the shell command principle inside Android, realize the manual operation through equipment simulation on the mobile phone side, form reliable software Stability testing system. Coding various test programs, including software automation test programs, file management automation test programs and outfield automation test programs, etc., the coded programs can randomly call various test programs and perform automated tests to form an automated test system. All kinds of test programs are concentrated in one framework, and various programs can be called at any time for automated testing. Compile the written code through the compilation environment on linux to form an executable file installation package that can be installed on the mobile phone, so that anyone only needs to install t...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products