Automatic testing interference preventing method and apparatus for Android mobile terminal

A technology for automated testing and mobile terminals, applied in software testing/debugging and other directions, can solve problems such as reducing test accuracy and efficiency, and achieve the effect of improving accuracy and efficiency

Active Publication Date: 2015-12-23
TCL COMM TECH NINGBO CO LTD
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides an automated test and anti-interference method and device for an Android mobile terminal, which can solve the problem in the prior art that the accuracy and efficiency of the test are reduced due to the interference of abnormal events during the automated test 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 testing interference preventing method and apparatus for Android mobile terminal
  • Automatic testing interference preventing method and apparatus for Android mobile terminal
  • Automatic testing interference preventing method and apparatus for Android mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0024] see figure 1 , figure 1 It is a schematic flow chart of the first embodiment of the method for anti-jamming automated testing of Android mobile terminals according to the present invention.

[0025] Specifically, the automated test anti-jamming method of the Android mobile terminal of the present embodiment includes the following steps:

[0026] S100. Execute the test command in the test script.

[0027] After starting the automated test, start to execute the test command in a test script.

[0028] S101. Determine whether the command is executed successfully.

[0029] After the command is executed, it is judged whether the command is executed successfully.

[0030] S102. If it is determined that the execution of the command fails, start to detect whether the reason for the unsuccessful execution of the command is the interference ...

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 present invention provides an automatic testing interference preventing method and apparatus for an Android mobile terminal. The method comprises the following steps: executing a test command in a test script; determining whether the command is executed successfully or not; when determining that the command is not executed successfully, starting to detect whether a cause of not executing the command successfully is interference of an abnormal event, wherein the abnormal event is a popup or skip of an application interface that is unrelated to the test; and if the cause is interference of the abnormal event, automatically closing or overlooking the abnormal event, and re-executing the command. The apparatus comprises: an execution module, a first determination module, a detection module and an interference preventing module. According to the automatic testing interference preventing method and apparatus for the Android mobile terminal provided by the present invention, an accuracy rate and efficiency of a whole test can be improved.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to an automated testing anti-interference method and device for an Android mobile terminal. Background technique [0002] As the functions of Android mobile phones become more and more complex, more and more manpower is invested in Android mobile phone software testing, and the testing cost is getting higher and higher. Traditional manual testing is difficult to meet the growing demand for Android mobile phone software testing. Implementing automated testing of mobile phones has become a trend. [0003] In the process of automated testing, there is a situation that seriously interferes with automated testing. When automated Cases are running continuously, if there is abnormal interference, such as unexpected calls, text messages, alarms, etc. The running failed, and the continuous running is mostly carried out at night when no one is guarding. After the error, it cannot ...

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/36
Inventor 谢先金林少康朱茂务
Owner TCL COMM TECH NINGBO 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