Automatic package capturing method for Android application

An automatic, Android technology, applied in the field of mobile Internet, can solve the problems of automatic program logic errors, compatibility problems of different models, inability to request data from the network and page association, etc., to achieve the effect of accurate clicks and avoid invalid clicks

Pending Publication Date: 2020-03-17
苏州金智渠信息技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 2) There are problems with the compatibility of different models
[0007] 3) It is impossible to perform hierarchical analysis on the internal pages of Android applications, and it is impossible to obtain a hierarchical structure tree
[0008] 4) It is impossible to accurately identify page elements in different positions. When traversing, there are multiple clicks pointing to the same jump page, and it is impossible to control the click coverage of different pages.
[0009] 5) Unable to effectively identify various bullet boxes that appear during the traversal process of Android applications, resulting in logic errors in automated programs that cannot run correctly
[0010] 6) The description information of page elements cannot be associated with the network request data and pages loaded after clicking

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 package capturing method for Android application
  • Automatic package capturing method for Android application
  • Automatic package capturing method for Android application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be described in detail below in conjunction with the implementations shown in the drawings, but it should be noted that these implementations are not limitations of the present invention, and those of ordinary skill in the art based on the functions, methods, or structural changes made by these implementations Equivalent transformations or substitutions all fall within the protection scope of the present invention.

[0029] The automatic packet capture program is developed by the python language. It operates the Android native application on the real machine or the emulator through the atx automated test framework, obtains the network request data through the mitmproxy network proxy server, and saves the page description information and network loading information to the local file synchronously. figure 1 Shown is the schematic diagram of the automatic packet capture program.

[0030] The automatic packet capture program first automatically do...

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 package capturing method for an Android application. The automatic package capturing method comprises the following steps: automatically downloading an installationpackage to the local according to a provided installation package downloading link, analyzing signature information of the installation package and then installing the installation package to mobileequipment; opening an app through the atx service layer and communicating with the app; after entering the home page, automatically analyzing structural information of the page, wherein the structureinformation comprises a top equipment information boundary, a head page description information boundary and a bottom menu element boundary of a home page, and a top equipment information boundary, ahead page description information boundary and a middle page boundary of a secondary page; analyzing first-level menu elements at the bottom boundary of the home page, comprehensively analyzing and obtaining second-level elements at the middle boundary based on attribute, position and size information, and storing the second-level elements into a queue; and clicking the elements one by one according to a depth-first strategy, analyzing the new pages, obtaining the new elements and adding the new elements into the queue until all the pages are traversed. According to the automatic package capturing method for an Android application, the accuracy and timeliness of test work are greatly improved.

Description

technical field [0001] The invention belongs to the technical field of mobile Internet, and in particular relates to a method for automatically capturing packets of an Android application. Background technique [0002] With the rapid development of mobile Internet technology and the widespread popularization of smart mobile terminal devices, the demand for network application development is also increasing, and it needs to be updated and iterated in a timely manner. This requires a large number of different types of network applications, such as apps, public To analyze the robustness and usability of the application, carry out the packet capture test on account numbers and applets. [0003] Packet capture is a routine analysis method for usability testing of network applications. The conventional method is to manually download and install the application, click on the page of the application, or write a test case, and intercept the url request and response through a network ...

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/36H04M1/725H04M1/72403
CPCG06F11/3688H04M1/72403
Inventor 盛森闰从林
Owner 苏州金智渠信息技术有限公司
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