Automated testing method and system based on Android and mobile terminal

A technology of automated testing and test results, applied in the field of communication, can solve problems such as inability to test across processes, uncontrollable cross-process interactions, and high labor costs, and achieve the effects of reducing program development cycles, reducing human capital investment, and improving testing efficiency

Inactive Publication Date: 2011-05-11
DONGGUAN YULONG COMM TECH +1
View PDF3 Cites 56 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the Junit and Instrument automated testing frameworks belong to white-box testing and must have all the codes of the program under test, which poses a big challenge to the code security of various companies
Another important disadvantage of Instrument is that it cannot be tested across processes, because Instrument injects itself into the program under test, so it must be in the same process as the program under test, an...

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 system based on Android and mobile terminal
  • Automated testing method and system based on Android and mobile terminal
  • Automated testing method and system based on Android and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0033] figure 1 The structure of the Android-based automated testing system provided by the present invention is shown, and the system 10 is applied in the mobile terminal 100 to perform automated testing on the program under test 20 in the mobile terminal 100 . The system 10 may be a software unit, a hardware unit or a combined unit of software and hardware built into the mobile terminal 100; the mobile terminal 100 may be a mobile phone, a PDA (Personal Digital Assistant, personal digital assistant) and the like. The automated test system 10 mainly includes an attribute acquisition module 11 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 is suitable for the technical field of communications and provides an automated testing method and system based on Android and a mobile terminal. The invention has the following beneficial effects: a coordinate of at least an interface element of the tested program is firstly obtained, a simulated operation instruction can be still sent to some interface element of the tested program according to the coordinate of the interface element even though a system and the tested program do not belong to the same process so as to carry out out-of-process automated testing, thus the coverage of testing of the tested program is wider; white box testing is not needed for the automated testing technology, thus effectively ensuring security of program codes; and in addition, the man-machine interaction function is completely simulated by adopting the technology, thus reducing the program development cycle, reducing the human capital for test development and improving the testing efficiency.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to an Android-based automated testing method, system and mobile terminal. Background technique [0002] The Android platform is a Linux-based open source mobile terminal operating system developed by Google (Google). It includes all the software necessary for the mobile terminal to work, such as the operating system, user interface, and applications. Google hopes to form an open ecosystem in the mobile industry by establishing a standardized and open mobile terminal software platform through in-depth partnerships with operators, equipment manufacturers, and developers. However, testing on the Android platform is still a new field. Many materials on the Internet are based on Junit (java unit testing) and Instrumentation (tools) automated testing frameworks. They are a powerful automated testing framework provided by Google. All life cycles of the program also provide functio...

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 DONGGUAN YULONG COMM TECH
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