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

Method and device of acquiring application control information

A technology for acquiring devices and controls, applied in the computer field, can solve cumbersome, time-consuming, boring and other problems, achieve the effects of improving work efficiency, flexible acquisition and management, and eliminating hard-coded scripts

Inactive Publication Date: 2018-01-26
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This process is very boring, time-consuming and cumbersome for testers

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
  • Method and device of acquiring application control information
  • Method and device of acquiring application control information

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations as sequential processing, many of the operations may be performed in parallel, concurrently, or simultaneously. In addition, the order of operations can be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

[0048] The methods discussed below, some of which are illustrated by flowcharts, can be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in ...

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 aims to provide a method and a device of acquiring application control information. The method includes: acquiring an activity interface of a to-be-tested application according to a predetermined time interval, wherein the activity interface is changed according to user operations simulated by a first test tool; acquiring the control information from the activity interface; and writing the control information into a predetermined file. Compared with the prior art, the solution of intelligently capturing the UI (User Interface) control information of the to-be-tested application provided by the invention solves the problem of low efficiency caused by the need for manually acquiring the interface control information at every turn in the prior art, realizes an objective of quickly, dynamically and flexibly acquiring and managing the interface control information of the to-be-tested application, carries out unified management on the acquired control information in the predetermined file, eliminates the problem of script hard-coding, can grasp, in addition, a change situation in first time when the control information on the UI is changed, and plays a huge role in the context of quick iteration of the mobile app.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a technology for acquiring application control information. Background technique [0002] Automated testing is essentially an operation to simulate human behavior, and the strategies implemented by various Android UI (UserInterface, user interface) automated testing frameworks are similar. Usually, the control on the UI interface is obtained, and then a series of operations are performed on the control. In the prior art, the controls to be operated on the UI interface are usually located by means of control information (such as control id), text positioning, hierarchical structure, or class positioning. Among these methods, positioning through control information is the simplest and most stable method. [0003] Google provides many tools, such as hirachyviewer, uiautomatorviewer, etc., which can be used to view control information. Just connect the test phone, start the test...

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): G06F9/44G06F11/36
Inventor 张益刘晓娟刘希柳梅
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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