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

Multi-browser compatibility automatic testing method

An automated testing and multi-browser technology, applied in software testing/debugging, instrumentation, error detection/correction, etc., can solve problems such as low efficiency of manual testing and inability to set checkpoints, so as to solve the low efficiency of manual testing and highlight the essence Sexual characteristics, principle and reliable effect

Inactive Publication Date: 2018-09-18
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to solve the problem of low efficiency of manual browser compatibility testing of existing web applications and the inability to set checkpoints in automated testing, and to provide a multi-browser compatibility automated testing method

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
  • Multi-browser compatibility automatic testing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Below in conjunction with accompanying drawing, the present invention is described in further detail:

[0028] Such as figure 1 As shown, a kind of multi-browser compatibility automatic testing method provided by the present invention comprises:

[0029] (10) Initialize and install a pre-tested browser on the PC device;

[0030] (20) Start script runner 1 and script runner 2 through the control center;

[0031] (30) Execute the script and judge whether there is a screenshot output, if there is a screenshot output, go to step (40); otherwise, go to step (60);

[0032] (40) Compare the screenshot with the reference image through the image comparator, and output the image comparison result;

[0033] (50) Save the result to the test report;

[0034] (60) Judging whether the execution of the script is completed, if the execution of the script is completed, output the test report and end the test; otherwise, return to step (30).

[0035] In this embodiment, step (20) inc...

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 present invention belongs to the technical field of browser compatibility testing, and particularly relates to a multi-browser compatibility automatic testing method. The method comprises: (10) performing initialization, and installing a pre-tested browser on a PC device; (20) starting a script Runner 1 and a script Runner 2 through a control center; (30) executing scripts and determining whether there is screenshot output, if there is screenshot output, going to step (40), and otherwise, going to step (60); (40) through an image comparator, comparing the screenshot with a reference image,and outputting an image comparison result; (50) saving the result to a test report; and (60) determining whether the execution of the scripts is completed, if the execution of the scripts is completed, outputting the test report, and ending the test, and otherwise, returning to the step (30). According to the method provided by the present application, the problems in the page can be quickly found out, the efficiency of the compatibility test can be greatly improved, and the two major problems that in the traditional test script, the interface checkpoint cannot be set and the manual test efficiency is low are solved.

Description

technical field [0001] The invention belongs to the technical field of browser compatibility testing, and in particular relates to a multi-browser compatibility automatic testing method. Background technique [0002] Existing automated testing technology has been widely used in functional testing of Web applications, it can customize a script in advance, and then play it back on different browsers. For example, the invention application with the application number CN2014108412279 discloses a multi-browser compatibility testing method and system, which can reduce the testing workload and improve work efficiency. This solution records the operation behavior performed by the browser to form an operation instruction, and synchronizes the operation instruction to the synchronous test browser, thereby simulating the operation instruction on the synchronous test browser to realize the automated test of browser compatibility. [0003] The invention patent with the application numbe...

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/3672
Inventor 杨晓娟
Owner ZHENGZHOU YUNHAI 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