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

Front-end automatic regression testing system and method based on picture comparison technology

An automatic regression and image comparison technology, applied in the Internet field, can solve the problems of difficult preparation of the benchmark version, poor adaptation to demand changes, and large preparation workload, so as to achieve good test business value, reduce the probability of misjudgment, and eliminate subjective errors. Effect

Pending Publication Date: 2020-01-31
付彪
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0029] The purpose of the present invention is to overcome the large workload of test case preparation, insufficient coverage, poor adaptation to demand changes, high manpower input and maintenance costs, only positive expectation testing, and difficult preparation of benchmark versions in the existing automated testing system. problem, provide a front-end automated regression testing system and method based on image comparison technology

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
  • Front-end automatic regression testing system and method based on picture comparison technology
  • Front-end automatic regression testing system and method based on picture comparison technology
  • Front-end automatic regression testing system and method based on picture comparison technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] This embodiment implements a test system of a microservice architecture, such as figure 1 As shown, a front-end automated regression testing system based on image comparison technology is provided. The system specifically includes a front-end information collection module, an information comparison module, and a result viewing and judgment module. The information comparison module includes a main service unit, a comparison scheduling unit, and a comparison service The cluster, the authentication unit, the authentication center unit and the storage unit, the comparison service cluster includes several comparison blocks. The front-end information collection module uploads the collected tested front-end pictures to the information comparison module, and the information comparison module compares the tested front-end pictures to output the comparison results and test results, and the user checks and judges the comparison results and test results through the result viewing an...

Embodiment 2

[0078] This embodiment has the same inventive concept as Embodiment 1. On the basis of Embodiment 1, a front-end automated regression testing method based on image comparison technology is provided, such as image 3 As shown, this method is applied to the automated regression testing of front-ends such as browsers, mobile applications, and desktop applications, and specifically includes the following steps:

[0079] S01: The client in the user login result viewing and judgment module creates the first test group on the client, and the ID information of the corresponding first test group will be obtained when the first test group is created; where the user (tester) logs in to the client At the end, you need to use the correct user name and password. When the authentication center unit verifies the user's identity, it calls the RESTful API program of the main service for identity authentication. When receiving the RESTful API program of the main service, it can provide a legal an...

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 front-end automatic regression test system and a method based on a picture comparison technology, and belongs to the technical field of the Internet, and the method comprisesa tested front-end picture comparison step: comparing whether a test picture and a standard reference picture under the same test group meet a first preset condition; if not, further judging whetherthe test picture and the anti-error reference picture meet a second preset condition; if yes, outputting a comparison result of test success, otherwise, outputting a comparison result of test failure,and outputting a test result of the test group according to a plurality of comparison results; wherein the anti-error reference picture comprises a custom feature picture conforming to certain customfeatures, an interference picture generating interference during screenshot and a picture in development in the development process. According to the method, the problems that in traditional front-end automatic testing, the test case preparation workload is large, the adaptive demand change is poor, only forward expected testing can be conducted, a benchmark version is difficult to prepare, and atest scheme cannot well reflect the test service value can be solved.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a front-end automatic regression testing system and method based on image comparison technology. Background technique [0002] With the vigorous promotion of information technology in all walks of life, the application layer as the display part of its terminal has always been the most important part of the entire information network to reflect the value, and it is also the battlefield where all software companies and manufacturers devote themselves to work and focus on . At present, there are three main presentation forms of the application layer: desktop applications based on the operating system (such as the QQ application on the windows system), web applications based on the browser (such as the 12306 ticket purchase website accessed by a web browser), And native applications based on mobile communication devices (such as WeChat programs on mobile phones). Especially th...

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/36G06F16/955G06K9/62H04L29/08
CPCG06F11/3672G06F16/955H04L67/06H04L67/02G06F18/22
Inventor 付彪
Owner 付彪
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