CN103164213A - Method, device and system of testing compatibility of Web browser - Google Patents

Method, device and system of testing compatibility of Web browser Download PDF

Info

Publication number
CN103164213A
CN103164213A CN2011104275599A CN201110427559A CN103164213A CN 103164213 A CN103164213 A CN 103164213A CN 2011104275599 A CN2011104275599 A CN 2011104275599A CN 201110427559 A CN201110427559 A CN 201110427559A CN 103164213 A CN103164213 A CN 103164213A
Authority
CN
China
Prior art keywords
html
tested
web browser
described tested
standard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104275599A
Other languages
Chinese (zh)
Inventor
简勤
郭正平
涂天禄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Group Sichuan Co Ltd
Original Assignee
China Mobile Group Sichuan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Sichuan Co Ltd filed Critical China Mobile Group Sichuan Co Ltd
Priority to CN2011104275599A priority Critical patent/CN103164213A/en
Publication of CN103164213A publication Critical patent/CN103164213A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method, a device and a system of testing compatibility of a Web browser. The method comprises that a script monitor receives more than two tested hypertext markup language (HTML) elements sent by a standard collector, the script monitor calculates the tested HTML parameters of each tested HTML element in a Web browser, the script monitor sends each tested HTML element and the corresponding HTML parameters of each tested HTML element to a monitor server, the monitor server judges whether the tested HTML parameters corresponding to each tested HTML element are in accordance with prestored standard HTML parameters corresponding to the tested HTML elements or not, and if the tested HTML parameters corresponding to each tested HTML element are not in accordance with the prestored standard HTML parameters corresponding to the tested HTML elements, the tested Web browser is judged to have compatibility problems. Compared with the prior art, the method of testing the compatibility of the Web browser can carry out compatibility testing on the Web browser in real time.

Description

The compatible detection method of Web browser, Apparatus and system
Technical field
The present invention relates to Internet technical field, particularly a kind of compatible detection method, Apparatus and system of Web browser.
Background technology
Along with the development of Internet technology, the user can come receiving and dispatching mail, search data and browse news etc. by opening webpage whenever and wherever possible.Generally speaking, the mode of opening webpage is network address corresponding to this webpage of input in the Web browser of user terminal, to obtain the content in this webpage.Common Web browser comprises IE, Netscape, Firefox and Opera etc., and these Web browsers are all that the program code by analyzing web page comes the display web page content.
HTML (Hypertext Markup Language) (Hypertext Markup Language, HTML) is the upper HTML (Hypertext Markup Language) of using of present WWW, and it comes various piece in webpage that mark will show by label symbol.Web page files itself is a kind of text, by add marker character in text, tell how Web browser shows (as: how word is processed for wherein content, how picture arranges, how picture shows etc.), browser is read this web page files in order, then explains and show the content of its mark according to marker character.Yet, different Web browsers may be different to the support of html web page grammer, even all belong to the Web browser of IE series, such as IE6, IE7 and IE8, they also differ larger to the mechanism for resolving of html web page, therefore can often cause same webpage the part Web browser can in show normally, show unsuccessfully in other a part of Web browser, so may have a strong impact on the user to the experience effect of webpage.
For solving the compatibility issue of Web browser, present solution is to rely on user's feedback or rely on the maintainer to remove the compatibility issue of finding that initiatively Web browser exists, this detection mode that relies on artificial means fully, the compatibility issue of the Web browser that can solve is very limited, and can not accomplish in time find and process.
Testing software for the Web browser compatibility that provides on present internet, be actually the web page characteristics in tested Web browser is sent to the webserver, still adopt artificial mode that the web page characteristics of described tested Web browser is detected in the webserver, thereby determine whether described tested Web browser exists compatibility issue.Owing to lacking the robotization means in existing solution, cause many Web browser long-term existence compatibility issues, have a strong impact on user's experience effect, and then face the user's of this colony of may running off danger, therefore need urgently a kind of real-time, mode can be carried out compatibility detection to Web browser easily.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of compatible detection method of Web browser, can carry out compatibility to Web browser in real time and detect.
Another object of the present invention is to provide the compatible pick-up unit of two kinds of Web browsers, can carry out compatibility to Web browser in real time and detect.
Another purpose of the present invention provides a kind of compatible detection system of Web browser, can carry out compatibility to Web browser in real time and detect.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of compatible detection method of Web browser, the method comprises:
The script watch-dog receives the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends;
Described script watch-dog calculates the tested HTML parameter of each described tested html element element in tested Web browser;
Described script watch-dog sends to monitoring server with each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element;
The described tested HTML parameter that the judgement of described monitoring server and each described tested html element element are corresponding and pre-stored whether consistent with the plain corresponding standard HTML parameter of described tested html element, if inconsistent, judge that there is compatibility issue in described tested Web browser.
A kind of script watch-dog comprises:
The first receiving element is used for receiving the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends, and each described html element element is sent to computing unit;
Described computing unit is used for calculating each described tested html element element in the tested HTML parameter of tested Web browser, and each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to transmitting element;
Described transmitting element is used for each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to monitoring server.
A kind of monitoring server comprises:
The second receiving element, be used for receiving plain and corresponding with each the described tested html element element tested HTML parameter of tested html element more than two that the script watch-dog sends, each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to detecting unit;
Described detecting unit, be used for described tested HTML parameter corresponding to judgement and each described tested html element element and pre-stored whether consistent with the plain corresponding standard HTML parameter of described tested html element, if inconsistent, judge that there is compatibility issue in described tested Web browser.
A kind of Web browser is put into compatible detection system, comprising:
The script watch-dog, be used for receiving the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends, calculate the tested HTML parameter of each described tested html element element in tested Web browser, each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to monitoring server;
Described monitoring server, be used for described tested HTML parameter corresponding to judgement and each described tested html element element and pre-stored whether consistent with the plain corresponding standard HTML parameter of described tested html element, if inconsistent, judge that there is compatibility issue in described tested Web browser.
As seen, adopt technical scheme of the present invention, the script watch-dog sends to monitoring server with each tested html element element and the tested HTML parameter corresponding with each tested html element element, the tested HTML parameter that monitoring server judgement and each tested html element element are corresponding and pre-stored whether consistent with the plain corresponding standard HTML parameter of tested html element, if inconsistent, judge that there is compatibility issue in tested Web browser.Compared to the prior art, compatible detection method, the Apparatus and system of the Web browser that the present invention proposes can carry out compatibility to Web browser in real time and detect; In addition, the method for the invention implements efficiently convenient, is convenient to popularize.
Description of drawings
Fig. 1 is the compatible detection method realization flow figure of Web browser of the present invention.
Fig. 2 is the html web page structural representation of the tested html element element of the present invention in the standard web browser.
Fig. 3 is the process flow diagram of a kind of implementation method of step 112 of the present invention.
Fig. 4 is the html web page structural representation of the tested html element element of the present invention in tested Web browser.
Fig. 5 is the structural representation of script watch-dog of the present invention.
Fig. 6 is the structural representation of monitoring server of the present invention.
Fig. 7 is the structural representation of the compatible detection system of Web browser of the present invention.
Embodiment
For problems of the prior art, the compatible detection scheme of the Web browser in the present invention after a kind of improvement of proposition can carry out compatibility to Web browser in real time and detect.
For make technical scheme of the present invention clearer, understand, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Fig. 1 is the compatible detection method realization flow figure of Web browser of the present invention.As shown in Figure 1, comprise the following steps:
Step 101 script watch-dog receives the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends.
In the prior art, html document is by the definition of html element element, a plurality of html element elements have been comprised in each html document, the html element element refers to all codes from the beginning label to end-tag, be that the html element element is that to begin label initial, stop with end-tag, the content between beginning label and end-tag is the content of described html element element.For example,<p〉This is my first paragraph.</p 〉, this html element element comprises a beginning label<p〉and end-tag</p 〉, the content of this html element element is: This is my first paragraph.
Preferably, before this step, the standard acquisition device can also send to monitoring server with each tested html element element and the standard HTML parameter of each tested html element element in the standard Web browser, therefore, in the specific embodiment of the present invention, the script watch-dog receive that the standard acquisition device sends more than two before tested html element element, can also comprise step as described below:
Choose tested html element element more than two in the html web page that step 111, standard acquisition device show according to pre-defined rule on the standard Web browser.
Fig. 2 is the html web page structural representation of the tested html element element of the present invention in the standard web browser.As shown in Figure 2, choose tested html element element more than two in the html web page that can show according to the selection rule of ranks alignment on the standard Web browser, for example, the standard acquisition device is selected rectangular area on the html web page that shows on the standard Web browser at first, then described rectangular area is divided into several subregions, as shown in Figure 2, the rectangular area can be divided into 9 sub regions, choose described tested html element element on the center of each described subregion.In addition, in specific embodiments of the invention, can be also to choose tested html element element more than two in the html web page that shows on the standard Web browser of other selection rules of pre-establishing.
Step 112, standard acquisition device are calculated the standard HTML parameter of each tested html element element in the standard Web browser.
In this step, described standard HTML parameter can be the beginning label of the tested html element element absolute coordinates with respect to standard Web browser top left corner apex, wherein, described absolute coordinates specifically refers to the beginning label of described tested html element element to the left margin of standard Web browser and the pixel number of coboundary.In the specific embodiment of the present invention, step 112 can have multiple implementation, and Fig. 3 is the process flow diagram of a kind of implementation method of step 112 of the present invention.As shown in Figure 3, in the specific embodiment of the present invention, step 112 can realize by step as described below:
Step 301, the script watch-dog is plain as current html element respectively with the beginning label of each tested html element element, obtains the beginning label of current html element element with respect to the relative coordinate of the beginning label of the father node of described current html element element by the offsetLeft attribute in HTML and offsetTop attribute.
In this step, the beginning label that refers to current html element element of the offsetLeft attribute in HTML is with respect to the beginning label relative coordinate in the horizontal direction by the father node of the offsetParent attribute appointment in HTML; The beginning label that the offsetLeft attribute refers to current html element element is with respect to the beginning label relative coordinate in vertical direction by the father node of offsetParent attribute appointment.Therefore, can obtain the beginning label of current html element element with respect to the relative coordinate of the beginning label of the father node of described current html element element by offsetLeft attribute and offsetTop attribute respectively in this step.
Step 302, script watch-dog judge whether the father node of current html element element is empty, if execution in step 303, otherwise, execution in step 304.
In this step, if the father node of described current html element element is empty, described father node is the top left corner apex of standard Web browser.
Step 303, the beginning label of described tested html element element are that the beginning label of all current html element element is with respect to the relative coordinate sum of the beginning label of the father node of described current html element element with respect to the absolute coordinates of standard Web browser top left corner apex.
In this step, if the father node of tested html element element is empty, the father node of described tested html element element is the top left corner apex of standard Web browser, and therefore the beginning label of described tested html element element is the beginning label of described tested html element element with respect to the absolute coordinates of standard Web browser top left corner apex with respect to the relative coordinate of the beginning label of described father node.
Step 304, the script watch-dog is plain as current html element with the father node of tested THML element, and execution in step 301 is until the father node of current html element element is sky.
In this step, if the father node of tested html element element is not empty, calculate the beginning label of father node of tested html element element with respect to the absolute coordinates of standard Web browser top left corner apex, the beginning label of the father node of tested html element element with respect to the relative coordinate addition with respect to the beginning label of the father node of described tested html element element of the beginning label of the absolute coordinates of standard Web browser top left corner apex and tested html element element, can be obtained the beginning label of tested html element element with respect to the absolute coordinates of standard Web browser top left corner apex.Wherein, the beginning label of the father node of described tested html element element is identical with respect to the computing method of the absolute coordinates of tested Web browser top left corner apex with the beginning label of tested html element element with respect to the computing method of the absolute coordinates of standard Web browser top left corner apex.
According to above-mentioned description as can be known, by above-mentioned step 301~304, can obtain the beginning label of each tested html element element with respect to the absolute coordinates of standard Web browser top left corner apex, namely can obtain the standard HTML parameter of each tested html element element in the standard Web browser.
Step 113, the standard acquisition device sends to monitoring server with each tested html element element and the standard HTML parameter corresponding with each tested html element element.
In this step, the standard acquisition device sends to monitoring server with the beginning label of each tested html element element and each tested html element element with respect to the absolute coordinates of standard Web browser top left corner apex by the standard communication protocol between standard acquisition device and monitoring server (for example http protocol) after calculating the absolute coordinates of beginning label with respect to standard Web browser top left corner apex of each tested html element element.
Step 114, monitoring server are preserved each tested html element element and the standard HTML parameter corresponding with each tested html element element.
In this step, monitoring server is after the absolute coordinates of beginning label with respect to standard Web browser top left corner apex of each the tested html element element that receives the transmission of standard acquisition device and each html element element, preserve the beginning label of each tested html element element and each tested html element element with respect to the absolute coordinates of standard Web browser top left corner apex, detect so that in follow-up flow process, tested Web browser is carried out compatibility.
according to above-mentioned description as can be known, by above-mentioned step 111~114, can realize in advance each tested html element element and the standard HTML parameter corresponding with each tested html element element being kept in monitoring server, in follow-up flow process, after monitoring server receives each tested html element element and the tested HTML parameter of each tested html element element in tested Web browser of script watch-dog transmission, html element element tested according to each and the tested HTML parameter corresponding with each tested html element element, and each pre-stored tested html element element and the standard HTML parameter corresponding with each tested html element element, just can carry out compatibility to described tested Web browser detects.
Step 102, script watch-dog are calculated the tested HTML parameter of each tested html element element in tested Web browser.
In this step, described tested HTML parameter can be the beginning label of the tested html element element absolute coordinates with respect to tested Web browser top left corner apex.Wherein, the beginning label of tested html element element is identical with respect to the computing method of the absolute coordinates of standard Web browser top left corner apex with respect to the beginning label of the tested html element element that provides in the computing method of the absolute coordinates of tested Web browser top left corner apex and step 112.
Step 103, the script watch-dog sends to monitoring server with each tested html element element and the tested HTML parameter corresponding with each tested html element element.
In this step, the script watch-dog sends to monitoring server with the beginning label of each tested html element element and each tested html element element with respect to the absolute coordinates of tested Web browser top left corner apex by the standard communication protocol between script watch-dog and monitoring server (for example http protocol) after calculating the absolute coordinates of beginning label with respect to tested Web browser top left corner apex of each tested html element element.
Step 104, if the tested HTML parameter that monitoring server judgement and each tested html element element are corresponding and pre-stored whether consistent with the plain corresponding standard HTML parameter of tested html element inconsistent, judges that there is compatibility issue in tested Web browser.
In this step, monitoring server html element element tested according to each and the tested HTML parameter corresponding with each tested html element element, and each pre-stored tested html element element and the standard HTML parameter corresponding with each tested html element element, whether the tested HTML parameter that judges each tested html element element is consistent with standard HTML parameter, if inconsistent, judge that there is compatibility issue in described tested Web browser; If the tested HTML parameter of each tested html element element is consistent with standard HTML parameter, judge that there is not compatibility issue in described tested Web browser.
Fig. 4 is the html web page structural representation of the tested html element element of the present invention in tested Web browser.As shown in Figure 4, if there is compatibility issue in tested Web browser, tested html element element will no longer meet the queueing discipline of ranks alignment in tested Web browser, that is to say, the tested HTML parameter of tested html element element in tested Web browser is different from the standard HTML parameter of tested html element element in the standard Web browser.
Preferably, in specific embodiments of the invention, the script watch-dog can also be by the registration table of the described Web browser of inquiry, obtain type and the version information of described tested Web browser, for example the type of described tested Web browser and version can be IE6, also can be other versions and type.The script watch-dog sends to monitoring server with type and the version information of described Web browser, monitoring server is preserved type and the version information of described tested Web browser, after monitoring server judges that there is compatibility issue in tested Web browser, send to relevant treatment facility to process type and the version information of described tested Web browser.
Need to prove, the technical scheme that the present invention proposes is applicable too for the abnormal monitoring of html web page.Particularly, at first, choose tested html element element more than two in the html web page that the standard acquisition device shows according to pre-defined rule on the standard Web browser, calculate the standard HTML parameter of each tested html element element in the standard Web browser, and each tested html element element and the standard HTML parameter corresponding with each tested html element element are sent to monitoring server.When needs carry out abnormal monitoring to described html web page, calculate the tested HTML parameter of each tested html element element in tested Web browser by the script watch-dog, and each tested html element element and the tested HTML parameter corresponding with each tested html element element are sent to monitoring server, monitoring server is compared tested HTML parameter and the standard HTML parameter of each tested html element element, if tested HTML parameter and the standard HTML parameter of tested html element element are inconsistent, judge described html web page abnormal.
The compatible detection method of the Web browser that the present invention proposes, the script watch-dog sends to monitoring server with each tested html element element and the tested HTML parameter corresponding with each tested html element element, the tested HTML parameter that monitoring server judgement and each tested html element element are corresponding and pre-stored whether consistent with the plain corresponding standard HTML parameter of tested html element, if inconsistent, judge that there is compatibility issue in tested Web browser.Compared to the prior art, the compatible detection method of the Web browser that the present invention proposes can be carried out compatibility to Web browser in real time and be detected; In addition, the method for the invention implements efficiently convenient, is convenient to popularize.
Fig. 5 is the structural representation of script watch-dog of the present invention.As shown in Figure 5, comprising:
The first receiving element 501 is used for receiving the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends, and each described html element element is sent to computing unit 502;
Described computing unit 502, be used for calculating each described tested html element element in the tested HTML parameter of tested Web browser, each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to transmitting element 503;
Described transmitting element 503 is used for each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to monitoring server.
Further, the tested HTML parameter beginning label that is described tested html element element is with respect to the absolute coordinates of described tested Web browser top left corner apex.
Further, described script watch-dog also comprises:
Acquiring unit 504 is used for the registration table by the described Web browser of inquiry, obtains type and the version information of described tested Web browser, and described type and the version information of described tested Web browser sent to described transmitting element 503;
Described transmitting element 503 also is used for described type and the version information of described tested Web browser are sent to described monitoring server.
Fig. 6 is the structural representation of monitoring server of the present invention.As shown in Figure 6, comprising:
The second receiving element 601, be used for receiving plain and corresponding with each the described tested html element element tested HTML parameter of tested html element more than two that the script watch-dog sends, each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to detecting unit 602;
Described detecting unit 602, be used for described tested HTML parameter corresponding to judgement and each described tested html element element and pre-stored whether consistent with the plain corresponding standard HTML parameter of described tested html element, if inconsistent, judge that there is compatibility issue in described tested Web browser.
Further, described monitoring server also comprises storage unit 603;
Described the second receiving element 601, also be used for receiving two the above tested html element elements and the standard HTML parameter corresponding with each described tested html element element that the standard acquisition device sends, each described tested html element element and the described standard HTML parameter corresponding with each described tested html element element are sent to described storage unit 603;
Described storage unit 603 is used for preserving each described tested html element element and the described standard HTML parameter corresponding with each described tested html element element.
Further, described standard HTML parameter is that the described beginning label of described tested html element element is with respect to the absolute coordinates of described standard Web browser top left corner apex.
Further, described the second receiving element 601 also is used for receiving type and the version information of the described tested Web browser that described script watch-dog sends, and described type and the version information of described tested Web browser is sent to described storage unit 603;
Described storage unit 603 is for described type and the version information of preserving described tested Web browser.
Fig. 7 is the structural representation of the compatible detection system of Web browser of the present invention.As shown in Figure 7, comprising:
The script watch-dog, be used for receiving the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends, calculate the tested HTML parameter of each described tested html element element in tested Web browser, each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to monitoring server;
Described monitoring server, be used for described tested HTML parameter corresponding to judgement and each described tested html element element and pre-stored whether consistent with the plain corresponding standard HTML parameter of described tested html element, if inconsistent, judge that there is compatibility issue in described tested Web browser.
The compatible detection system of the Web browser that the present invention proposes, the script watch-dog sends to monitoring server with each tested html element element and the tested HTML parameter corresponding with each tested html element element, the tested HTML parameter that monitoring server judgement and each tested html element element are corresponding and pre-stored whether consistent with the plain corresponding standard HTML parameter of tested html element, if inconsistent, judge that there is compatibility issue in tested Web browser.Compared to the prior art, the compatible detection system of the Web browser that the present invention proposes can be carried out compatibility to Web browser in real time and be detected; In addition, the method for the invention implements efficiently convenient, is convenient to popularize.
The specific works flow process of Fig. 5 and device embodiment shown in Figure 6 please refer to the respective description in embodiment of the method shown in Figure 1, repeats no more.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (12)

1. the compatible detection method of a Web browser, is characterized in that, comprising:
The script watch-dog receives the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends;
Described script watch-dog calculates the tested HTML parameter of each described tested html element element in tested Web browser;
Described script watch-dog sends to monitoring server with each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element;
The described tested HTML parameter that the judgement of described monitoring server and each described tested html element element are corresponding and pre-stored whether consistent with the plain corresponding standard HTML parameter of described tested html element, if inconsistent, judge that there is compatibility issue in described tested Web browser.
2. method according to claim 1, is characterized in that, described script watch-dog receive that the standard acquisition device sends more than two before tested HTML (Hypertext Markup Language) html element element, also comprise:
Choose two the above tested html elements elements in the html web page that described standard acquisition device shows according to pre-defined rule on the standard Web browser;
Described standard acquisition device calculates the described standard HTML parameter of each described tested html element element in described standard Web browser;
Described standard acquisition device sends to described monitoring server with each described tested html element element and the described standard HTML parameter corresponding with each described tested html element element;
Described monitoring server is preserved each described tested html element element and the described standard HTML parameter corresponding with each described tested html element element.
3. method according to claim 2, is characterized in that, also comprises:
The beginning label that described tested HTML parameter is described tested html element element is with respect to the absolute coordinates of described tested Web browser top left corner apex;
Described standard HTML parameter is that the described beginning label of described tested html element element is with respect to the absolute coordinates of described standard Web browser top left corner apex.
4. method according to claim 3, is characterized in that, also comprises:
Described script watch-dog obtains type and the version information of described tested Web browser by the registration table of the described Web browser of inquiry;
Described script watch-dog sends to described monitoring server with described type and the version information of described tested Web browser;
Described monitoring server is preserved described type and the version information of described tested Web browser.
5. a script watch-dog, is characterized in that, comprising:
The first receiving element is used for receiving the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends, and each described html element element is sent to computing unit;
Described computing unit is used for calculating each described tested html element element in the tested HTML parameter of tested Web browser, and each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to transmitting element;
Described transmitting element is used for each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to monitoring server.
6. script watch-dog according to claim 5, is characterized in that, the beginning label that described tested HTML parameter is described tested html element element is with respect to the absolute coordinates of described tested Web browser top left corner apex.
7. script watch-dog according to claim 6, is characterized in that, also comprises:
Acquiring unit is used for the registration table by the described Web browser of inquiry, obtains type and the version information of described tested Web browser, and described type and the version information of described tested Web browser sent to described transmitting element;
Described transmitting element also is used for described type and the version information of described tested Web browser are sent to described monitoring server.
8. a monitoring server, is characterized in that, comprising:
The second receiving element, be used for receiving plain and corresponding with each the described tested html element element tested HTML parameter of tested html element more than two that the script watch-dog sends, each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to detecting unit;
Described detecting unit, be used for described tested HTML parameter corresponding to judgement and each described tested html element element and pre-stored whether consistent with the plain corresponding standard HTML parameter of described tested html element, if inconsistent, judge that there is compatibility issue in described tested Web browser.
9. monitoring server according to claim 8, is characterized in that, also comprises storage unit;
Described the second receiving element, also be used for receiving two the above tested html element elements and the standard HTML parameter corresponding with each described tested html element element that the standard acquisition device sends, each described tested html element element and the described standard HTML parameter corresponding with each described tested html element element are sent to described storage unit;
Described storage unit is used for preserving each described tested html element element and the described standard HTML parameter corresponding with each described tested html element element.
10. monitoring server according to claim 9, is characterized in that, described standard HTML parameter is that the described beginning label of described tested html element element is with respect to the absolute coordinates of described standard Web browser top left corner apex.
11. monitoring server according to claim 10, it is characterized in that, described receiving element, also be used for receiving type and the version information of the described tested Web browser that described script watch-dog sends, and described type and the version information of described tested Web browser sent to described storage unit;
Described storage unit is for described type and the version information of preserving described tested Web browser.
12. the compatible detection system of a Web browser is characterized in that, comprising:
The script watch-dog, be used for receiving the tested HTML (Hypertext Markup Language) html element element more than two that the standard acquisition device sends, calculate the tested HTML parameter of each described tested html element element in tested Web browser, each described tested html element element and the described tested HTML parameter corresponding with each described tested html element element are sent to monitoring server;
Described monitoring server, be used for described tested HTML parameter corresponding to judgement and each described tested html element element and pre-stored whether consistent with the plain corresponding standard HTML parameter of described tested html element, if inconsistent, judge that there is compatibility issue in described tested Web browser.
CN2011104275599A 2011-12-19 2011-12-19 Method, device and system of testing compatibility of Web browser Pending CN103164213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104275599A CN103164213A (en) 2011-12-19 2011-12-19 Method, device and system of testing compatibility of Web browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104275599A CN103164213A (en) 2011-12-19 2011-12-19 Method, device and system of testing compatibility of Web browser

Publications (1)

Publication Number Publication Date
CN103164213A true CN103164213A (en) 2013-06-19

Family

ID=48587338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104275599A Pending CN103164213A (en) 2011-12-19 2011-12-19 Method, device and system of testing compatibility of Web browser

Country Status (1)

Country Link
CN (1) CN103164213A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699604A (en) * 2015-02-28 2015-06-10 百度在线网络技术(北京)有限公司 Method and device for testing Android application on basis of customized rendering engine
CN106326091A (en) * 2015-06-24 2017-01-11 深圳市腾讯计算机系统有限公司 Browser webpage compatibility detection method and system
CN104156307B (en) * 2014-07-03 2017-04-05 安徽景行信息科技有限公司 A kind of browser compatibility detection method and system
CN106886491A (en) * 2017-01-17 2017-06-23 博彦科技股份有限公司 Webpage compatibility test method and device
CN109634844A (en) * 2018-11-06 2019-04-16 北京奇虎科技有限公司 JS code test method, device and electronic equipment
CN111783010A (en) * 2020-01-19 2020-10-16 北京无限光场科技有限公司 Webpage blank page monitoring method, device, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093773A1 (en) * 2009-10-19 2011-04-21 Browsera LLC Automated application compatibility testing
CN102033803A (en) * 2009-09-29 2011-04-27 国际商业机器公司 Method and device for testing web application across browsers
CN102546273A (en) * 2010-12-15 2012-07-04 上海杉达学院 Test system and test method for WAP (wireless application protocol) website

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033803A (en) * 2009-09-29 2011-04-27 国际商业机器公司 Method and device for testing web application across browsers
US20110093773A1 (en) * 2009-10-19 2011-04-21 Browsera LLC Automated application compatibility testing
CN102546273A (en) * 2010-12-15 2012-07-04 上海杉达学院 Test system and test method for WAP (wireless application protocol) website

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156307B (en) * 2014-07-03 2017-04-05 安徽景行信息科技有限公司 A kind of browser compatibility detection method and system
CN104699604A (en) * 2015-02-28 2015-06-10 百度在线网络技术(北京)有限公司 Method and device for testing Android application on basis of customized rendering engine
CN104699604B (en) * 2015-02-28 2017-11-07 百度在线网络技术(北京)有限公司 Method and device for testing the Android application that kernel is browsed based on customization
CN106326091A (en) * 2015-06-24 2017-01-11 深圳市腾讯计算机系统有限公司 Browser webpage compatibility detection method and system
CN106886491A (en) * 2017-01-17 2017-06-23 博彦科技股份有限公司 Webpage compatibility test method and device
CN109634844A (en) * 2018-11-06 2019-04-16 北京奇虎科技有限公司 JS code test method, device and electronic equipment
CN109634844B (en) * 2018-11-06 2023-12-22 三六零科技集团有限公司 JS code testing method and device and electronic equipment
CN111783010A (en) * 2020-01-19 2020-10-16 北京无限光场科技有限公司 Webpage blank page monitoring method, device, terminal and storage medium
CN111783010B (en) * 2020-01-19 2023-09-19 北京有竹居网络技术有限公司 Webpage blank page monitoring method, device, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN107885848B (en) Webpage screen capturing method based on web technology
CN103942225B (en) A kind of resource transfer method, client and the system of mixed type applications client
CN103164213A (en) Method, device and system of testing compatibility of Web browser
CN108073828B (en) Webpage tamper-proofing method, device and system
US9785710B2 (en) Automatic crawling of encoded dynamic URLs
CN106469044B (en) Method and device for realizing page jump
CN102739663A (en) Detection method and scanning engine of web pages
CN103744985A (en) Webpage adaption method and webpage adaption system
US20140006924A1 (en) Methods and Systems for Secure In-Network Insertion of Web Content and Web Services
CN103873918A (en) Picture processing method, device and terminal
CN103905379A (en) Method for identifying internet users and device thereof
CN101441629A (en) Automatic acquiring method of non-structured web page information
CN104573520A (en) Method and device for detecting permanent type cross site scripting vulnerability
US9280268B2 (en) Identifying equivalent javascript events
CN103902534A (en) Method and device for triggering local operations through webpage program
CN104123125A (en) Webpage resource acquisition method and device
CN102662837A (en) Testing method and system of browser
CN104834588A (en) Permanent residence cross site script vulnerability detection method and apparatus
CN102214224A (en) Network resource access optimizing method, Web page browser and terminal
CN102664925A (en) Method and apparatus for displaying searching result
CN102866885B (en) Method and device for confirming clicking position in webpage
CN105069092B (en) A kind of method, system and the mobile terminal of report displaying
CN110555145A (en) Browser-based webpage content acquisition system and acquisition method thereof
CN104899203B (en) Webpage generation method and device and terminal equipment
CN103488508B (en) Browser working method, browser and terminal equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130619