Browser testing method and device

A browser and browser control technology, applied in the field of browser testing, to improve the accuracy and efficiency of testing

Inactive Publication Date: 2014-05-28
BEIJING KINGSOFT NETWORK TECH
View PDF7 Cites 27 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, there is no universal browser testing method that can achieve cross-platform, cross-operating system, and cross-browser kernel

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
  • Browser testing method and device
  • Browser testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the technical solutions and advantages of the present invention clearer, the exemplary embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all implementations. Exhaustive list of examples.

[0022] Such as figure 1 As shown, the embodiment of the present invention provides a browser testing method, which includes:

[0023] Step S101: Obtain the image of the control or area of ​​the browser to be tested.

[0024] The browser testing method provided in the embodiment of the present invention is aimed at browsers on PCs, mobile terminals or other devices. Because different browsers have different display interfaces on terminal devices and operating systems of different platforms, in order to make a test step common, it is necessary to package the browsers of terminal devices and oper...

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 browser testing method and a browser testing device. Screenshot of a control or area of a to-be-tested browser is packaged into a testing program, the screen image of equipment where the to-be-tested browser is located is read, and image matching is carried out on the read screen image and the acquired browser control or area image, so that the position of the to-be-tested control or area of the browser is accurately acquired, and automatic testing is carried out on the position, therefore the problem that the testing program cannot be in common use caused by difference of browsers in different operating systems and different platforms is solved, and the browser testing accuracy and efficiency are improved.

Description

technical field [0001] The invention relates to the technical field of browser testing, in particular to a browser testing method and device. Background technique [0002] At present, there are many PC-end and mobile-end browser brands in the market. In addition to the large differences in functions and interfaces, different browser brands also have quite different kernels. For example, IE uses the Trident kernel, chrome uses the webkit and blink kernels, and some The browser brand is based on the core of IE or chrome, and carries out personalized development, and the difference is quite large. [0003] Selenium is currently a commonly used automated testing tool for PC-side browsers. Selenium supports some mainstream browsers, such as IE, Chrome, Firefox, Safari, and Opera. These browsers are all based on their own kernels, and Selenium has made different versions for them. Many of the current domestic browser brands are based on the core of browsers such as Chrome or IE,...

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
Inventor 朱正宜
Owner BEIJING KINGSOFT NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products