Automatic testing method and device for software in Android system

An automated testing, Android system technology, applied in software testing/debugging, hardware monitoring, error detection/correction, etc., which can solve problems such as redundancy, affecting test efficiency, and slowing down.

Inactive Publication Date: 2017-11-17
SHENZHEN TECNO TECH CO LTD
View PDF4 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, once the resolution of the icon or the corresponding coordinates changes during the software upgrade or revision process, the click coordinates recorded by the automated test method of recording and generating code through the above tools will be wrong during the test playback process, and virtual A lot of redundant codes will be generated when the mouse operation is used to record on the software interface simulated by the computer, which will slow down the subsequent playback speed and directly affect the test efficiency. For example, moving the mouse from point A to point B, but during the recording process The mouse stays at point C, and the recording tool will record all the places where the mouse passes

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 and device for software in Android system
  • Automatic testing method and device for software in Android system
  • Automatic testing method and device for software in Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0116] The testing device provided in Embodiment 2 and the terminal device provided in Embodiment 3 can be used to execute the method provided in Embodiment 1 above, and the specific implementation manner and technical effect are similar, and will not be repeated here.

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 provides an automatic testing method and device for software in an Android system. The method comprises the following steps: testing recording data sent by a terminal device to be tested through a testing device, wherein the recording data are recorded by the terminal device according to the user operation on the terminal device, and the recording data include the operation and activeX information corresponding to the operation; generating a script file by the testing device according to the recording data; receiving a script playback indication through the testing device; and starting to play back the script file by the testing device according to the script playback indication, and performing the operation during the script playback process according to the activeX information corresponding to the operation. With the adoption of the method, the test program recorded by the user is high in adaptability during playback; meanwhile, the recording process can be directly carried out by the user through the terminal device, so that redundant codes can be decreased, and the program testing efficiency can be increased.

Description

technical field [0001] The invention relates to the technical field of software system testing, in particular to a method and device for automatic software testing in an Android system. Background technique [0002] Software testing in the Android system is an indispensable and important link in the software application development process. Through software testing, you can know whether there are errors in the software application, whether its operation process or results meet the expected requirements, and the pressure that the software can withstand. [0003] At present, software testing methods in the Android system mainly include manual testing methods, automated testing methods of manual programming, and automated testing methods of tool recording and generated code. The manual testing method is a better choice for functional testing, but for some repetitive stress testing, it is difficult to achieve the expected testing purpose. The automated testing method of manual ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F11/34
CPCG06F11/3414G06F11/3672G06F11/3688
Inventor 卢常旭陈记辉
Owner SHENZHEN TECNO 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