Automatic testing method for Android device

A technology of automated testing and equipment, applied in the field of electronics, can solve problems such as a large amount of manpower and time, inability to meet the needs of targeted use case testing, and limited functions, and achieve strong operability, easy writing and modification, strong self-use and controlling effect

Inactive Publication Date: 2015-02-04
PHICOMM (SHANGHAI) CO LTD
View PDF4 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the testing method in the prior art is a random testing method, it cannot meet the testing requirements of targeted use cases, and at the same time, it

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 testing method for Android device
  • Automatic testing method for Android device
  • Automatic testing method for Android device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0042] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0043] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.

[0044] refer to figure 1 , an automated testing method for an android device, wherein, comprising the followin...

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 relates to the technical field of electronics and particularly relates to an automatic testing method for an Android device. The automatic testing method comprises the following steps of (1) providing a testing program operating in the Android device, enabling the testing program to output testing error information, providing a batch processing script operating at a computer end so as to control operation of the testing program and collect the testing error information; (2) connecting the Android device to the computer end; (3) operating the batch processing script to copy the testing program to the Android device and control the operation of the testing program on the Android device; and (4) using the batch processing script to collect testing error information outputted by the testing program in the operation process. The automatic testing method has the advantages that the batch processing script is used for being embedded into uiautomator to carry out test, the abnormality thrown by the uiautomator is used, the batch processing script is used for automatic capture, so that the automatic judgment of errors and automatic grabbing of picture and log files can be achieved, and the needs of various test cases are met. The automatic testing method is a high-efficiency and simple combined testing method for the scripts.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to an automatic testing method. Background technique [0002] The Android (Android) system is one of the most widely used operating systems on terminals such as smart phones and tablet computers. At present, the method for testing the Android system is mainly by sending random user event streams to the Android system, such as key input, touch screen input, Gesture input, etc., to implement stress testing of the application being developed. Since the testing method in the prior art is a random testing method, it cannot meet the testing requirements of targeted use cases, and at the same time, its functions are limited, and it takes a lot of manpower and time to execute the test cases, and the test results directly depend on the level of the testers. . Contents of the invention [0003] The object of the present invention is to provide an automated testing method for an Androi...

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 PHICOMM (SHANGHAI) 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