Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for detecting browser compatibility

A detection method and detection device technology, applied in the network field, can solve the problems of large state machine space, large labor cost, low efficiency and low quality, and achieve the effects of avoiding false positives, improving detection efficiency, and improving detection quality

Active Publication Date: 2017-01-18
ALIBABA GRP HLDG LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The above-mentioned browser compatibility issues generally include style compatibility issues and function compatibility issues. The former can generally be tested manually by developers, while the latter has a large workload, low efficiency and quality, and testing problems if manual testing is used. The long-term problem requires an automated compatibility detection method
One is use-case-based automated testing, which specifically includes, for example, constructing automated test cases with tools such as selenium, watir, and capabara, and then executing the use cases in various browsers to detect compatibility issues; this method is currently multi-browser compatible The mainstream detection scheme for sexual problems, its disadvantage is that it cannot be generalized, and because it takes a lot of time to write and maintain automation use cases for each application (web page or webapp), it takes a lot of labor; in addition, when the automation use case When the quality or quantity is not enough, it is easy to cause the problem of underreporting
Another automated test method for functional compatibility is an automatic state machine, which specifically includes generating a finite state machine for the operation and state of the page (web page or webapp page) by an automated method, and then comparing the equality of the finite state machine Find out how a functional issue performs differently across multiple browsers; this approach has a low false negative rate, but is not efficient and effective due to the large state machine space in real applications

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
  • Method and device for detecting browser compatibility
  • Method and device for detecting browser compatibility
  • Method and device for detecting browser compatibility

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Specific embodiments of the present application will be described in detail below. It should be noted that the embodiments described here are for illustration only, and are not intended to limit the present application.

[0018] The browser compatibility detection method of the present application is used to detect the compatibility problem of the tested object running on various browsers. In one embodiment, the tested object here includes a webpage or a webpage application program (web app), and the compatibility problem here mainly involves a functional compatibility problem, not a style compatibility problem. figure 1 It is a flow chart of Embodiment 1 of the browser compatibility detection method of this application. As shown in the figure, the detection method of this embodiment includes the following steps S101-S103.

[0019] S101. Perform a static compatibility scan on the object under test, and output a set of function modules that need to be tested;

[0020] ...

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 browser compatibility testing method. The browser compatibility testing method comprises the following steps: 1) performing static compatibility scanning on a tested object and outputting a function module set required to be tested; 2) aiming at all function modules in the function module set, generating state machines that the function modules respectively operate under various browsers to obtain a plurality of state conversion functions of the function modules respectively corresponding to the browsers; 3) comparing the state functions to determine functional difference of the function modules on the browsers. The invention correspondingly and additionally discloses a browser compatibility testing device. The browser compatibility testing method and the browser compatibility testing device provided by the embodiment of the invention have the advantages that the full-automatic intelligent testing of function compatibility problems can be realized, and not only can the testing efficiency be improved, but also the failure in report can be avoided to the utmost extent and the testing quality is improved accordingly.

Description

technical field [0001] The present application relates to the field of network technologies, and in particular to a method and device for detecting compatibility problems caused by webpages or programs running among multiple browsers. Background technique [0002] With the increasing number of network users, there are more and more types of web browsers designed to meet the needs of different users. Common browsers include IE (Internet Explorer), Firefox (Firefox), Chrome (Google Chrome), etc. , the kernels of these browsers are different, so the support for various webpages and webapps (web-based application programs) is also different, thus causing browser compatibility issues. For this reason, before a website (or webpage) or webapp is released, it is usually necessary to test the compatibility of the website or webapp running on various browsers in order to adjust it to ensure that it can run smoothly in different browsers. device. The above-mentioned browser compatibi...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 栗志果
Owner ALIBABA GRP HLDG LTD