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

Interface testing method and device, electronic equipment and storage medium

A technology for interface testing and electronic equipment, applied in the direction of program control devices, user interface execution, software testing/debugging, etc., can solve the problems of low efficiency of UI testing and achieve high efficiency

Pending Publication Date: 2021-09-17
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present disclosure provides an interface testing method, device, electronic equipment and storage medium to at least solve the problem of low efficiency of UI testing in the related art

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
  • Interface testing method and device, electronic equipment and storage medium
  • Interface testing method and device, electronic equipment and storage medium
  • Interface testing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0069] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0070] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 relates to an interface testing method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a screenshot of a to-be-tested interface, obtaining a pixel value difference between the screenshot and an expected image of the to-be-tested interface, and determining an interface testing result of the to-be-tested interface according to the pixel value difference between the screenshot and the expected image. Whether the interface is normally displayed or not can be determined through the pixel value difference between the screenshot and the expected image, and codes do not need to be written. Meanwhile, the interface testing method provided by the embodiment of the invention can be suitable for all page structures, so that codes do not need to be rewritten for different page structures, and the UI testing efficiency can be relatively high.

Description

technical field [0001] The present disclosure relates to the field of interface testing, in particular to an interface testing method, device, electronic equipment and storage medium. Background technique [0002] User interface testing (UI testing), referred to as UI testing, can test whether each window is consistent with the baseline version, or meets acceptable standards. [0003] In related technologies, technicians are required to write codes for UI testing for each piece of page structure (such as a certain window of a page or a part of a certain window). Although the automated testing of the UI can be realized after the code is written, the process of writing the code is time-consuming and laborious, and the code needs to be rewritten for different page structures, making the efficiency of the UI test low. Contents of the invention [0004] The present disclosure provides an interface testing method, device, electronic equipment and storage medium, so as to at lea...

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
IPC IPC(8): G06F11/36G06F9/451
CPCG06F11/3688G06F11/3692G06F9/451
Inventor 王耕洲
Owner BEIJING DAJIA INTERNET INFORMATION 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