Application interface control traversal test method and application interface control traversal test devices

An application interface and traversal test technology, applied in the field of electronics, can solve problems such as low test efficiency and low test coverage

Active Publication Date: 2018-10-09
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can solve the problems of low test efficiency and low test coverage in existing technical solutions

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
  • Application interface control traversal test method and application interface control traversal test devices
  • Application interface control traversal test method and application interface control traversal test devices
  • Application interface control traversal test method and application interface control traversal test devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0068] In practical applications, after the user clicks a control to jump to the next interface, there will be situations where the user cannot return to the previous interface, and there may be situations in which the user returns to the previous interface but the interface controls change. Most of the algorithm implementations ignore this problem, although some consider this problem, but usually the above two situations are regarded as exce...

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 embodiment of the invention discloses an application interface control traversal test method. The method includes: when an application interface is tested, obtaining historical control informationof already traversed controls in the application interface and multiple controls on the application interface; determining operation priority of each of the multiple controls on the application interface according to the historical control information of the already traversed controls; and selecting a target control on the application interface according to the operation priority of each controlfor a test. The embodiment of the invention also discloses application interface control traversal test devices. By employing the embodiment of the invention, traversal efficiency of the test and a coverage rate of the control test can be improved.

Description

technical field [0001] The invention relates to the field of electronic technology, and in particular, to a method and device for traversal testing of application interface controls. Background technique [0002] In the existing field of automated testing, some open source testing tools such as monkey can be used. The characteristics of this tool are that it no longer relies on the interface as much as the script, and can run between any application or even between different applications. Its main operation is in Random clicks are performed in a specified application (which can be multiple), with high compatibility and strong reusability. However, since the test tool is randomly clicked in the interface based on coordinates, it is difficult to guarantee the accuracy and coverage. [0003] In the prior art solution, there are currently two main ways to traverse the app controls: depth traversal and breadth traversal. like figure 1 shown, figure 1 It is a schematic flowcha...

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
CPCG06F11/3684
Inventor 李佳南黄闻欣
Owner TENCENT TECH (SHENZHEN) 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