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

Method and device for identifying gui controls

A recognition process and identification technology, applied in the computer field, can solve the problems of high keyword maintenance costs, affecting script operation, re-recording scripts, etc., and achieve the effects of easy maintenance, universal versatility, and simple recording process

Active Publication Date: 2017-11-10
BEIJING QIHOO TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, any changes in the properties of interface elements will affect the running of the script, and sometimes even need to re-record the script
In addition, there is data-driven GUI automation testing, but it only supports script recording and requires independent maintenance of test data and correspondence, as well as keyword-based GUI automation testing, but its keyword maintenance costs are high

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 for identifying gui controls
  • Method and device for identifying gui controls
  • Method and device for identifying gui controls

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0026] First, a brief introduction to the identification and testing of GUI controls. A GUI is a computer-operated user interface displayed graphically. The simplest manual GUI identification and testing process is to first identify a certain graphic element on the GUI interface with human eyes, and then perform corresponding mouse or keyboard operations on this element to check whether the GUI interface after the operation meets e...

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 GUI control identification method and device, wherein the attribute information of the GUI control is pre-recorded and has a unique identification, and the attribute information includes: the title and / or class name of the parent window of the GUI control. The position coordinates of the parent window and the first image corresponding to the GUI control. The method includes: searching the parent window where the GUI control is located according to the parent window title and / or the parent window class name in the attribute information; intercepting the second image of preset size and position according to the position coordinates of the GUI control relative to the parent window; calculating the first image The similarity between the second image and the first image is used to identify the GUI control according to the similarity. According to this solution, non-standard controls can be accurately identified, and this identification method can be directly encapsulated as an interface, which is suitable for GUI automation testing.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for identifying GUI controls. Background technique [0002] With the rapid development of software technology and the continuous expansion of software scale, there are more and more software based on graphical user interface, and the automated testing of GUI software with the help of automated software testing tools has been more and more widely used. [0003] Due to various factors, more and more software interfaces start to use self-drawn controls or third-party controls. However, at this stage, many technologies have great limitations in the identification of GUI controls. Generally, they can only recognize Windows standard controls. Obtain various attribute information of interface elements through the existing Windows API interface, and the recognition rate of most third-party controls is not high. Some current GUI automation test frameworks also have h...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 洪丽娜李珂
Owner BEIJING QIHOO TECH 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