Cross-application automatic testing method

An automated testing and cross-application technology, applied in the testing field, can solve problems such as increased manual intervention costs and reduced flexibility of automated testing, achieving the effects of reducing unnecessary operations, improving testing efficiency, and improving flexibility

Active Publication Date: 2015-06-03
CHINA UNIONPAY
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can send automated test instructions to Android devices through the USB interface without the PC, but it uses the MonkeyRunner solution provided by Android for cross-application testing, so that the PC must be used to send automated tests to the Android device through the USB interface when testing cross-applications instruction
At the same time, due to the use of MonkeyRunner, the recording of scripts uses absolute coordinates, making it less flexible
[0003] The two methods mentioned above can only support the PC to send test commands through the USB port, and cannot directly initiate automated tests on the device without the PC, making manual intervention The cost increases and the flexibility of automated testing is greatly reduced

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
  • Cross-application automatic testing method
  • Cross-application automatic testing method
  • Cross-application automatic testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The following introduces some of the possible embodiments of the present invention, which are intended to provide a basic understanding of the present invention, but are not intended to identify key or decisive elements of the present invention or limit the scope of protection. It is easy to understand that, according to the technical solution of the present invention, those skilled in the art may propose other alternative implementation manners without changing the essence and spirit of the present invention. Therefore, the following specific embodiments and drawings are only exemplary descriptions of the technical solution of the present invention, and should not be regarded as the entirety of the present invention or as a limitation or restriction on the technical solution of the present invention.

[0017] In the context of the present invention, cross-application automated testing refers to: there are two independent applications A and B on the Android device, a...

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 a cross-application automatic testing method. The method involves with a main application A and one or more parallel applications B; the method comprises the steps of designing one or more analogue associated applications B' which correspond to the one or more parallel applications B and are completely the same relative to the interface of the main application A, and sending a testing instruction only to the main application A rather than the one or more parallel applications B, and then performing the automatic testing, wherein when the main application A needs to call the one or more parallel applications B, the designed one or more analogue associated applications B' are used for taking the place of the one or more parallel applications B to communicated with the main application A.

Description

technical field [0001] The present invention relates to a test method, more specifically, to a cross-application automated test method. Background technique [0002] The existing cross-application automated testing tools in the industry include UIAutomator of Android development tools, Athrun of Taobao and other testing methods. UIAutomator is an automated testing tool that comes with the Android development tool ADT, but it only supports automated testing of devices above Android 4.1, and can only send test commands through the adb interface, and cannot actually simulate the execution of automated testing on the device. Taobao's Athrun test method is a JUnit-based test method. It can send automated test instructions to Android devices through the USB interface without the PC, but it uses the MonkeyRunner solution provided by Android for cross-application testing, so that the PC must be used to send automated tests to the Android device through the USB interface when testin...

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 CHINA UNIONPAY
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