Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Android application program testing method and system based on group control mechanism

A technology of application programs and testing methods, applied in software testing/debugging, error detection/correction, instrumentation, etc., to solve problems such as insufficient automated testing support and manual intervention

Active Publication Date: 2021-05-07
UNIV OF JINAN
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since this test method needs to manage a large number of devices during large-scale parallel testing, how to manage devices, organize collected data and schedule tasks has become an urgent problem to be solved
In addition, the aforementioned two types of methods do not fully support automated testing, and the process of collecting logs and injecting input events often requires manual intervention

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
  • Android application program testing method and system based on group control mechanism
  • Android application program testing method and system based on group control mechanism
  • Android application program testing method and system based on group control mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] This embodiment provides an Android application program testing method based on a group control mechanism;

[0040] Such as figure 1 As shown, the Android application testing method based on the group control mechanism is applied to the PC side, including:

[0041] Step (1): Establish the application program test queue to be tested, scan and start the Android physical machine connected to the PC through the USB cable, the Android physical machine connected to the PC through the network, and the Android emulator deployed on the PC;

[0042] Step (2): Clear the residual data in the test environment of the Android physical machine;

[0043] Step (3): to the Android physical machine and the Android emulator, load the auxiliary executable file of the application program file to be tested;

[0044] Step (4): scan the application program test queue to be tested, load the application program file to be tested to the Android physical machine and the Android emulator;

[0045]...

Embodiment 2

[0085] The present embodiment provides an Android application program testing system based on a group control mechanism;

[0086] Such as figure 2 with Figure 4 As shown, the Android application testing system based on the group control mechanism includes:

[0087] PC end, deploy ADB server, test platform and Android emulator on the described PC end, described ADB server is connected with test platform and Android emulator respectively; Described ADB server is connected with Android physical machine; Described test platform comprises: Group control test module, application program database to be tested and test result database;

[0088] Scan the application database to be tested, obtain the application installation package to be tested from the application database to be tested, and establish a test queue; start the Android emulator, connect to the external Android environment through the network or USB port; list the connected Android environment , to obtain the list of ...

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 an Android application program test method and system based on a group control mechanism, and the method comprises the steps: building a to-be-tested application program test queue, scanning and starting an Android entity machine connected with a PC end through a USB cable, an Android entity machine connected with the PC end through a network, and an Android simulator deployed at the PC end; emptying residual data in the test environment of the Android entity machine; loading an auxiliary executable file of the application program file to be tested into the Android entity machine and the Android simulator; scanning an application program test queue to be tested, and loading an application program file to be tested into the Android entity machine and the Android simulator; starting a to-be-tested application file, and injecting a to-be-tested input event; stopping inputting the event, cleaning the test environment, and outputting a test report.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to an Android application testing method and system based on a group control mechanism. Background technique [0002] The statements in this section merely mention the background art related to this application, and do not necessarily constitute the prior art. [0003] It is a key step in the software development process to run software in a specific software and hardware environment, and to dynamically test and analyze it. Only when the software is executed, the development team can find out problems in the software that cannot be found by analyzing the source code, and find compatibility problems between the software and specific platforms. In addition, in the field of security research, researchers also need to run target software in a specific environment, collect various data and analyze specific behaviors. Developers or researchers can inject various input...

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
CPCG06F11/3688G06F11/3692Y02D10/00
Inventor 陈贞翔朱宇辉刘聪荆山彭立志杨波
Owner UNIV OF JINAN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products