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

User interface automatic test method, system and device and storage medium

A technology of automated testing and user interface, applied in software testing/debugging, error detection/correction, instrumentation, etc., can solve problems such as difficulties in maintenance and verification of UI automated testing, reduce maintenance costs and false alarm rates, and efficiently view and improve efficiency effect

Pending Publication Date: 2020-11-03
CTRIP COMP TECH SHANGHAI
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the problems in the prior art, the object of the present invention is to provide user interface automation testing method, system, equipment and storage medium, overcome the difficulties of the prior art, solve the maintenance and verification difficulties faced by UI automation testing, and be able to Realize the effect of verifying the verification points of UI automation testing by using comparison methods such as images, texts and AI

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
  • User interface automatic test method, system and device and storage medium
  • User interface automatic test method, system and device and storage medium
  • User interface automatic test method, system and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The same reference numerals denote the same or similar structures in the drawings, and thus their repeated descriptions will be omitted.

[0049] figure 1 It is a flow chart of the user interface automation testing method of the present invention. Such as figure 1 As shown, the embodiment of the present invention provides a kind of user interface automatic testing method, comprises the following steps:

[0050] S101. Establish at least one image comparison verification point based on the UI object of the user interface, the image comparison verification po...

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 a user interface automatic test method, system and device and a storage medium, and the method comprises the steps: building at least one image comparison verification point based on a UI object of a user interface, enabling the image comparison verification point to be correlated with at least part of a code, and enabling each image comparison verification point to correspond to a local region in the user interface, and setting a standard picture of each image comparison verification point; capturing the local area through the image comparison verification point to obtain a current captured image, and establishing a mapping relationship between the current captured image and the current captured image comparison verification point; and when judging that the currentscreenshot is different from the standard picture of the image comparison verification point of the current screenshot through graphic comparison, detecting whether a code associated with the generated current screenshot has an error or not, if so, maintaining the standard picture of the image comparison verification point unchanged, and if not, replacing the standard picture of the image comparison verification point with the current screenshot. According to the invention, the UI automatic test effect can be realized.

Description

technical field [0001] The invention relates to the field of UI automation testing, in particular to a user interface automation testing method, system, equipment and storage medium. Background technique [0002] UI design (or interface design) refers to the overall design of human-computer interaction, operation logic, and beautiful interface of the software. UI design is divided into physical UI and virtual UI. The commonly used UI design on the Internet is virtual UI, and UI is the abbreviation of User Interface (User Interface). A good UI design not only makes the software individual and tasteful, but also makes the operation of the software comfortable, simple and free, fully reflecting the positioning and characteristics of the software. [0003] At present, in the process of UI automation testing, the verification of expected results is mainly achieved by obtaining the values ​​of controls. The disadvantages of doing so mainly include the following points: [0004]...

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/36G06K9/62
CPCG06F11/3688G06F18/22Y02D10/00
Inventor 王幸福张秋会
Owner CTRIP COMP TECH SHANGHAI
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