CN103488560A - Test object processing method and test object processing device for webpage test - Google Patents

Test object processing method and test object processing device for webpage test Download PDF

Info

Publication number
CN103488560A
CN103488560A CN201210191818.7A CN201210191818A CN103488560A CN 103488560 A CN103488560 A CN 103488560A CN 201210191818 A CN201210191818 A CN 201210191818A CN 103488560 A CN103488560 A CN 103488560A
Authority
CN
China
Prior art keywords
dom node
webpage
attribute
tested
test
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.)
Granted
Application number
CN201210191818.7A
Other languages
Chinese (zh)
Other versions
CN103488560B (en
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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210191818.7A priority Critical patent/CN103488560B/en
Publication of CN103488560A publication Critical patent/CN103488560A/en
Application granted granted Critical
Publication of CN103488560B publication Critical patent/CN103488560B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention discloses a test object processing method and a test object processing device for the web test. The method comprises the following steps of reading a URL (uniform resource locator) address of a to-be-tested webpage, and reading an HTML (hypertext markup language) code of the to-be-tested webpage according to the URL address; traversing each DOM (document object model) node of each attribute according to the attributes of the DOM node in the HTML code in sequence, generating an object for operating the DOM node for each DOM node, and storing the object for operating the DOM node by adopting an attribute value of the DOM node as the characteristic; and utilizing a selector to acquire a DOM node set having no attribute, giving an index value to each DOM node having no attribute, generating an object for operating the DOM node for each DOM node having no attribute, and storing the object for operating the DOM node by adopting the index value of the DOM node as the characteristic. By utilizing the test object processing method and the test object processing device, the webpage test efficiency can be improved.

Description

A kind of test target disposal route and device for the webpage test
Technical field
The present invention relates to technical field of measurement and test, relate in particular to a kind of test target disposal route and device for the webpage test.
Background technology
In order to guarantee that webpage can normally move, need to be tested each element in webpage, in order to guarantee that each element can normally move, and then guarantee that webpage can normally move.Element to be tested in webpage, can be called the test target of webpage test, be tested the webpage test target, at first will identify the test target in webpage.
At present, the method for industry identification webpage tested object commonly used is: by manual type, identify the webpage test target.
Identify the webpage test target by manual type, on the one hand, easily occur omitting, efficiency is also lower on the other hand, can not adapt to the high-level efficiency requirement of webpage test in enormous quantities.
In addition, the overall flow of carrying out at present the webpage test comprises: adopt manual type to identify the webpage test target, the webpage test target then gone out for artificial cognition is write test script file.
Visible, the overall flow of carrying out at present the webpage test exists following problem: when website revision, to cause a large amount of webpage test targets under this website to change, because test script file is directly to write for the webpage test target, therefore, also need a large amount of test script files is revised one by one, workload is very large.
Summary of the invention
In view of this, the invention provides a kind of test target disposal route and device for the webpage test, in order to improve the efficiency of webpage test.
Technical scheme of the present invention specifically is achieved in that
A kind of test target disposal route for the webpage test, the method comprises:
Read URL(uniform resource locator) (URL) address of webpage to be tested, according to described URL address, open this webpage to be tested, read the HTML(Hypertext Markup Language) code of this webpage to be measured;
Attribute according to DOM Document Object Model in HTML code (DOM) node, travel through successively each DOM node of every kind of attribute in described HTML code, for each DOM node, generate for operating the object of this DOM node, the property value of this DOM node of take is feature, preserves for operating the object of this DOM node;
Utilizing selector to obtain does not have the DOM node set of attribute, traversal does not have the DOM node set of attribute, for having the DOM node of attribute, each does not give index value, there is no the DOM node of attribute for each, generate for operating the object of this DOM node, the index value of this DOM node of take is feature, preserves for operating the object of this DOM node.
A kind of test target treating apparatus for the webpage test, this device comprises HTML code acquisition module, DOM node spider module, object generation module and result treatment module;
Described HTML code acquisition module, for URL(uniform resource locator) (URL) address of reading webpage to be tested, open this webpage to be tested according to described URL address, reads the HTML code of this webpage to be measured;
Described DOM node spider module, for the attribute according to HTML code DOM node, travel through successively each DOM node of every kind of attribute in described HTML code, utilizing selector to obtain does not have the DOM node set of attribute, traversal does not have the DOM node set of attribute, for each has the DOM node of attribute, does not give index value;
Described object generation module, for each DOM node that described DOM node spider module is traversed, generate for operating the object of this DOM node;
Described result treatment module, for to the DOM node of attribute is arranged, the property value of DOM node of take is feature, preserve for operating the object of this DOM node, to there is no the DOM node of attribute, the index value of DOM node of take is feature, preserves for operating the object of this DOM node.
As seen from the above technical solution, the present invention is by the URL address according to webpage to be tested, read the HTML code of webpage to be tested, first according to the attribute of DOM node in HTML code, travel through successively the DOM node of every kind of attribute, and then utilize selector to obtain there is no the DOM node of attribute, and for not have the DOM node of attribute to give index value, for each the DOM node traversed, be all that it generates automatically for operating the object of this DOM node, and preserve for operating the object of this DOM node according to attribute or the index value of DOM node, realized as each possible tested target in webpage to be tested, generate the object for this tested target is operated, therefore, when needs are treated test certain tested element in webpage and are tested, as long as call corresponding object, with need artificial cognition webpage test target in prior art and compare, can greatly improve the efficiency of webpage test.
The accompanying drawing explanation
Fig. 1 is the test target recognition methods process flow diagram for the webpage test provided by the invention.
Fig. 2 is the method flow diagram that the test webpage carries out test target identification for the treatment of provided by the invention.
Fig. 3 is the object encapsulation method flow diagram for the webpage test provided by the invention.
Fig. 4 is the test target recognition device structural drawing for the webpage test provided by the invention.
Fig. 5 is the object encapsulation structural drawing for the webpage test provided by the invention.
Embodiment
Provided by the present invention for testing the object processing method of webpage, comprise the method for object identification and/or the method for object encapsulation, below be introduced respectively.
Fig. 1 is the test target recognition methods process flow diagram for the webpage test provided by the invention.
As shown in Figure 1, the method comprises:
Step 101, URL(uniform resource locator) (URL) address of reading webpage to be tested, open this webpage to be tested according to described URL address, reads the HTML code of this webpage to be tested.
Step 102, attribute according to DOM node in HTML code, travel through successively each DOM node of every kind of attribute in described HTML code, for each DOM node, generate for operating the object of this DOM node, the property value of this DOM node of take is feature, preserves for operating the object of this DOM node, can also from HTML code, delete this DOM node.
In this step, need to the whole traversals of the DOM node that attribute is arranged in HTML code are complete, and then perform step 103.
Wherein, the attribute of DOM node generally comprises but is not limited to: sign (id) attribute, name (name) attribute, class (class) attribute and/or hyperlink (href) attribute.
Step 103, utilizing selector to obtain does not have the DOM node set of attribute, traversal does not have the DOM node set of attribute, for having the DOM node of attribute, each does not give index value, there is no the DOM node of attribute for each, generate for operating the object of this DOM node, the index value of this DOM node of take is feature, preserve for operating the object of this DOM node, can also from HTML code, delete this DOM node.
Wherein, in step 102 according to the attribute of the DOM node in HTML code, while traveling through successively each DOM node of every kind of attribute in described HTML code, generally according to the order of id attribute, name attribute, class attribute and href attribute, travel through successively the DOM node of every kind of attribute.Said sequence is to determine according to speed and the accuracy of traversal DOM node, for example, according to the id attribute, travels through the fastest of DOM node.
In the described method of Fig. 1, if free DOM node in HTML code, owing to generally can not testing empty DOM node, therefore, can be ignored the empty DOM node in HTML code.
Shown in Fig. 1 in method, in order to guarantee not omit the DOM node as far as possible, preferably, according to set membership recurrence traversal DOM node, that is,, when the DOM node of a certain attribute of traversal, travel through the DOM node of this attribute according to the set membership recurrence, when traversal does not have the DOM node of attribute, there is no the DOM node of attribute according to set membership recurrence traversal.
In step 103, while utilizing selector to obtain there is no the DOM node set of attribute, if test frame is supported the CSS selector, can use the CSS selector to obtain does not have the DOM of attribute node set, if test frame is not supported the CSS selector, can use the xpath selector to obtain does not have the DOM of attribute node set yet.
Shown in Fig. 1 in method, specifically can use the engine of webdriver module as test target identification, as the action subject of method shown in Fig. 1, thereby make method shown in Fig. 1 to move under multiple browser, for example, can ie series, firefox is serial, chrome is serial and the serial browser of opera under move.Method shown in Fig. 1 also can be used the engine of watir module as test target identification, as the action subject of method shown in Fig. 1, now, can support the browser kind of method shown in Fig. 1 operation, be less than the browser kind of supporting the operation of method shown in Fig. 1 while adopting the webdriver module as the engine of test target identification.
In addition, when adopting the webdriver module as the engine of test target identification, method shown in Fig. 1 can also support multiple test script file to write language.
Below in conjunction with concrete example, method shown in Fig. 1 is carried out to exemplary illustration, specifically refer to Fig. 2.
Fig. 2 is the method flow diagram that the test webpage carries out test target identification for the treatment of provided by the invention.
As shown in Figure 2, in this example, comprise following step:
Step 201, the URL address of reading webpage to be tested.
Step 202, open described URL address.
Step 203, read the HTML code of webpage to be tested.
Step 204, resolve the DOM node that attribute is arranged in HTML code.
Step 205, resolve the DOM node that there is no attribute in HTML code.
Step 206, ignore the empty DOM node in HTML code, process ends.
Wherein, step 204 comprises following step:
Step 2041, judge whether to have the DOM node of id attribute, if so, performs step 2042, otherwise, perform step 2043.
Step 2042, traversal has the DOM node of id attribute, for each, the DOM node of id attribute is arranged, generate for operating the object of this DOM node, the property value of this DOM node of take is feature, preserves for operating the object of this DOM node, then from HTML code, deletes this DOM node.After having traveled through the DOM node of id attribute, perform step 2043.
In this step, property value and the html tag value of this DOM node of specifically can take is title, preserves for operating the object of this DOM node.
Step 2043, judge whether to have the DOM node of name attribute, if so, performs step 2044, otherwise, perform step 2045.
Step 2044, traversal has the DOM node of name attribute, for each, the DOM node of name attribute is arranged, generate for operating the object of this DOM node, the property value of this DOM node of take is feature, preserves for operating the object of this DOM node, then from HTML code, deletes this DOM node.After having traveled through the DOM node of name attribute, perform step 2045.
In this step, property value and the html tag value of this DOM node of specifically can take is title, preserves for operating the object of this DOM node.
Step 2045, judge whether to have the DOM node of class attribute, if so, performs step 2046, otherwise, perform step 2047.
Step 2046, traversal has the DOM node of class attribute, for each, the DOM node of class attribute is arranged, generate for operating the object of this DOM node, the property value of this DOM node of take is feature, preserves for operating the object of this DOM node, then from HTML code, deletes this DOM node.After having traveled through the DOM node of class attribute, perform step 2047.
In this step, property value and the html tag value of this DOM node of specifically can take is title, preserves for operating the object of this DOM node.
Step 2047, judge whether to have the DOM node of href attribute, if so, performs step 2048, otherwise, perform step 205.
Step 2048, traversal has the DOM node of href attribute, for each, the DOM node of href attribute is arranged, generate for operating the object of this DOM node, the property value of this DOM node of take is feature, preserves for operating the object of this DOM node, then from HTML code, deletes this DOM node.After having traveled through the DOM node of href attribute, perform step 2047.
In this step, property value and the html tag value of this DOM node of specifically can take is title, preserves for operating the object of this DOM node.
Wherein, step 205 comprises following step:
Step 2051, judge whether to have the DOM node that there is no attribute, if so, performs step 2052, otherwise, perform step 206.
Step 2052, traversal does not have the DOM node of attribute, for each does not have the DOM node generating indexes value of attribute, there is no the DOM node of attribute for each, generate for operating the object of this DOM node, the index value of this DOM node of take is feature, preserve for operating the object of this DOM node, then delete this DOM node from HTML code, wherein, also can not delete this DOM node.After having traveled through and there is no the DOM of attribute node, perform step 206.
Visible, at first method shown in Fig. 2 has analyzed all DOM nodes with attribute, and the mapping relations of record attribute value and DOM node, in next step analysis ergodic process, DOM node with attribute can be by intelligently filters, there is no the DOM of attribute node thereby make this step only travel through, attribute is arranged and without attribute DOM node all according to set membership recurrence record, guaranteed that the DOM node be recorded must be traversed, thereby further guaranteed that this DOM node be recorded all is present on the page, and can identify by tested target identification engine, thereby promoted the precision of test target identification.
Visible, by method shown in Fig. 1, can realize in the page to be tested comparing with needing artificial cognition webpage test target in prior art as the quick identification of the tested element of test target and the automatic generation of operand, can greatly improve the webpage testing efficiency.
In order further to improve the efficiency of webpage test, adapt to the high-level efficiency requirement of webpage test in enormous quantities, the modification amount of minimizing thereby the test script file that cause former due to website revision etc., the invention allows for the object encapsulation method for the webpage test, specifically refers to Fig. 3.
Fig. 3 is the object encapsulation method flow diagram for the webpage test provided by the invention.
As shown in Figure 3, this flow process comprises:
Step 301, generate the test class title of described webpage to be tested.
Wherein, described test class title, refer to for treating the title of the test webpage test class of being tested.
Step 302, according to described test class title, generate the test class of the sky of described webpage to be tested.
The test class of sky wherein, refer in code the basic function by inheriting base class and the class of the tested object of the sky that automatically generates.
Step 303, will carry out polymerization for the object of testing the DOM node and the test class of described sky, obtain the test class of described webpage to be tested.Wherein, the DOM node in the HTML code that described DOM node is described webpage to be tested.
In this step, for testing the object of DOM node, can obtain by method shown in Fig. 1, can be shown in Fig. 1, in method, preserve for testing the object of DOM node.
Wherein, the test class title that generates webpage to be tested can have several different methods, for follow-up when writing the test script file of webpage to be tested, can arrive corresponding test class according to the URL address search of webpage to be tested easily, thereby allocating object from described test class, preferably, the method that generates the test class title of webpage to be tested can comprise: delete server domain name information from the URL address of webpage to be tested, by connecting remaining URL fragment, generate the test class title of webpage to be tested.
Write language in order to support multiple test script file, the present invention also proposes, before will carrying out polymerization for the object that operates the DOM node and empty test class, the method can also comprise the step of the object for operating the DOM node being carried out to the script conversion, then will carry out carrying out polymerization for the object that operates the DOM node and the test class of described sky after the script conversion.
After generating the test class of webpage to be tested, when writing the test script file of webpage to be tested, as long as the title according to each object in the test class of webpage to be tested, call the object needed and get final product, if due to reasons such as website revisions, cause the DOM nodal information of webpage to be tested to change, also only need to regenerate the test class of webpage to be tested, and, without revising one by one each test script file, therefore, can greatly reduce workload.
According to said method provided by the invention, the present invention also provides corresponding device, specifically refers to Fig. 4-Fig. 5.
Fig. 4 is the test target recognition device structural drawing for the webpage test provided by the invention.
As shown in Figure 4, this device comprises HTML code acquisition module 401, DOM node spider module 402, object generation module 403 and result treatment module 404.
HTML code acquisition module 401, for URL(uniform resource locator) (URL) address of reading webpage to be tested, open this webpage to be tested according to described URL address, reads the HTML code of this webpage to be measured.
DOM node spider module 402, for the attribute according to HTML code DOM node, travel through successively each DOM node of every kind of attribute in described HTML code, utilizing selector to obtain does not have the DOM node set of attribute, traversal does not have the DOM node set of attribute, for each has the DOM node of attribute, does not give index value.
Object generation module 403, for each DOM node that DOM node spider module 402 is traversed, generate respectively for operating the object of this DOM node.
Result treatment module 404, for to the DOM node of attribute is arranged, the property value of DOM node of take is feature, preserve for operating the object of this DOM node, to there is no the DOM node of attribute, the index value of DOM node of take is feature, preserves for operating the object of this DOM node.
Fig. 5 is the object encapsulation structural drawing for the webpage test provided by the invention.
As shown in Figure 5, this device comprises that test class title generation module 501, hollow testing class generation module 502, test target obtain module 503 and polymerization module 504;
Test class title generation module 501, for generating the test class title of webpage to be tested.
Hollow testing class generation module 502, for according to described test class title, generate the test class of the sky of described webpage to be tested.Wherein, hollow testing class generation module 502 need to be according to the test class of the sky of the desired language generation of test frame webpage to be tested.
Test target obtains module 503, for obtaining the test target of webpage to be tested.
Wherein, test target acquisition module 503 can be the test target recognition device shown in Fig. 4.
Polymerization module 504, for carrying out polymerization for the test class of the sky of the object of testing the DOM node and webpage to be tested, obtain the test class of described webpage to be tested, wherein, and the DOM node in the HTML code that described DOM node is described webpage to be tested.
Test class title generation module 501 wherein, specifically can delete server domain name information for the URL address from webpage to be tested, by connecting remaining URL fragment, generates the test class title of webpage to be tested.
Fig. 5 shown device can also comprise the object modular converter.
Described object modular converter, for carrying out the script conversion for the object that operates the DOM node, export to described polymerization module by the object for operating the DOM node after conversion.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (12)

1. the test target disposal route for the webpage test, is characterized in that, the method comprises:
Read the uniform resource position mark URL address of webpage to be tested, according to described URL address, open this webpage to be tested, read the HTML (Hypertext Markup Language) HTML code of this webpage to be tested;
Attribute according to DOM Document Object Model DOM node in HTML code, travel through successively each DOM node of every kind of attribute in described HTML code, for each DOM node, generate for operating the object of this DOM node, the property value of this DOM node of take is feature, preserves for operating the object of this DOM node;
Utilizing selector to obtain does not have the DOM node set of attribute, traversal does not have the DOM node set of attribute, for having the DOM node of attribute, each does not give index value, there is no the DOM node of attribute for each, generate for operating the object of this DOM node, the index value of this DOM node of take is feature, preserves for operating the object of this DOM node.
2. method according to claim 1, is characterized in that, according to the attribute of DOM node in HTML code, travels through successively each DOM node of every kind of attribute in described HTML code and comprise:
According to the order of sign id attribute, name name attribute, class class attribute and hyperlink href attribute, travel through successively the DOM node of every kind of attribute.
3. method according to claim 1, is characterized in that, the method also comprises: ignore the empty DOM node in HTML code.
4. method according to claim 1, is characterized in that, according to set membership recurrence traversal DOM node.
5. method according to claim 1, is characterized in that, the method also comprises:
Generate the test class title of described webpage to be tested, according to described test class title, generate the test class of the sky of described webpage to be tested, by what preserve, for the object that operates the DOM node and the test class of described sky, carry out polymerization, obtain the test class of described webpage to be tested.
6. method according to claim 5, it is characterized in that, the test class title that generates described webpage to be tested comprises: delete server name information from the URL address of webpage to be tested, by connecting remaining URL fragment, generate the test class title of webpage to be tested.
7. method according to claim 5, is characterized in that, before the test class for the object that operates the DOM node and described sky of preserving is carried out to polymerization, the method also comprises:
The object for operating the DOM node of preserving is carried out to the script conversion;
The test class for the object that operates the DOM node and described sky of preserving is carried out to polymerization to be comprised: will carry out carrying out polymerization for the object that operates the DOM node and the test class of described sky after the script conversion.
8. method according to claim 5, is characterized in that, the method also comprises: for testing the test script file of webpage to be tested, call the object in the test class of webpage to be tested.
9. the test target treating apparatus for the webpage test, is characterized in that, this device comprises HTML (Hypertext Markup Language) HTML code acquisition module, DOM Document Object Model DOM node spider module, object generation module and result treatment module;
Described HTML code acquisition module, for reading the uniform resource position mark URL address of webpage to be tested, open this webpage to be tested according to described URL address, reads the HTML code of this webpage to be measured;
Described DOM node spider module, for the attribute according to HTML code DOM node, travel through successively each DOM node of every kind of attribute in described HTML code, utilizing selector to obtain does not have the DOM node set of attribute, traversal does not have the DOM node set of attribute, for each has the DOM node of attribute, does not give index value;
Described object generation module, for each DOM node that described DOM node spider module is traversed, generate respectively for operating the object of this DOM node;
Described result treatment module, for to the DOM node of attribute is arranged, the property value of DOM node of take is feature, preserve for operating the object of this DOM node, to there is no the DOM node of attribute, the index value of DOM node of take is feature, preserves for operating the object of this DOM node.
10. device according to claim 9, is characterized in that, this device also comprises test class title generation module, hollow testing class generation module and polymerization module;
Described test class title generation module, for generating the test class title of webpage to be tested;
Described hollow testing class generation module, for according to described test class title, generate the test class of the sky of described webpage to be tested;
Described polymerization module, for carrying out polymerization for the test class of the sky of the object that operates the DOM node and webpage to be tested, obtain the test class of described webpage to be tested, wherein, and the DOM node in the HTML code that described DOM node is described webpage to be tested.
11. device according to claim 10, is characterized in that,
Described test class title generation module, delete server domain name information for the URL address from webpage to be tested, by connecting remaining URL fragment, generates the test class title of webpage to be tested.
12. device according to claim 10, is characterized in that, this device also comprises the object modular converter;
Described object modular converter, for carrying out the script conversion for the object that operates the DOM node, export to described polymerization module by the object for operating the DOM node after conversion.
CN201210191818.7A 2012-06-12 2012-06-12 Test object processing method and test object processing device for webpage test Active CN103488560B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210191818.7A CN103488560B (en) 2012-06-12 2012-06-12 Test object processing method and test object processing device for webpage test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210191818.7A CN103488560B (en) 2012-06-12 2012-06-12 Test object processing method and test object processing device for webpage test

Publications (2)

Publication Number Publication Date
CN103488560A true CN103488560A (en) 2014-01-01
CN103488560B CN103488560B (en) 2014-11-05

Family

ID=49828812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210191818.7A Active CN103488560B (en) 2012-06-12 2012-06-12 Test object processing method and test object processing device for webpage test

Country Status (1)

Country Link
CN (1) CN103488560B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104077221A (en) * 2014-06-27 2014-10-01 百度在线网络技术(北京)有限公司 Style test method and device for front-end page
CN104090947A (en) * 2014-07-03 2014-10-08 无锡市崇安区科技创业服务中心 Method for storing and locating selected content on web page
CN105095061A (en) * 2014-04-21 2015-11-25 阿里巴巴集团控股有限公司 Page test method and equipment
CN105373468A (en) * 2014-06-20 2016-03-02 阿里巴巴集团控股有限公司 A detection method and system for WEB automation testability
CN107451065A (en) * 2017-08-18 2017-12-08 郑州云海信息技术有限公司 A kind of method and system of reparation web automatic test scripts
CN111522752A (en) * 2020-05-26 2020-08-11 北京大米未来科技有限公司 Program test method, program test device, storage medium, and electronic apparatus
CN112597031A (en) * 2020-12-26 2021-04-02 中国农业银行股份有限公司 Web page test case generation device and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101520796A (en) * 2009-02-16 2009-09-02 深圳市腾讯计算机系统有限公司 Method and system for extracting uniform resource locators from web page content
US20100174774A1 (en) * 2009-01-08 2010-07-08 Inernational Business Machines Corporation Method for server-side logging of client browser state through markup language

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100174774A1 (en) * 2009-01-08 2010-07-08 Inernational Business Machines Corporation Method for server-side logging of client browser state through markup language
CN101520796A (en) * 2009-02-16 2009-09-02 深圳市腾讯计算机系统有限公司 Method and system for extracting uniform resource locators from web page content

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105095061A (en) * 2014-04-21 2015-11-25 阿里巴巴集团控股有限公司 Page test method and equipment
CN105095061B (en) * 2014-04-21 2018-08-21 阿里巴巴集团控股有限公司 A kind of page test method and equipment
CN105373468A (en) * 2014-06-20 2016-03-02 阿里巴巴集团控股有限公司 A detection method and system for WEB automation testability
CN104077221A (en) * 2014-06-27 2014-10-01 百度在线网络技术(北京)有限公司 Style test method and device for front-end page
CN104077221B (en) * 2014-06-27 2017-10-24 百度在线网络技术(北京)有限公司 The pattern method of testing and device of front end page
CN104090947A (en) * 2014-07-03 2014-10-08 无锡市崇安区科技创业服务中心 Method for storing and locating selected content on web page
CN107451065A (en) * 2017-08-18 2017-12-08 郑州云海信息技术有限公司 A kind of method and system of reparation web automatic test scripts
CN111522752A (en) * 2020-05-26 2020-08-11 北京大米未来科技有限公司 Program test method, program test device, storage medium, and electronic apparatus
CN111522752B (en) * 2020-05-26 2023-04-25 北京大米未来科技有限公司 Program testing method, program testing device, storage medium and electronic equipment
CN112597031A (en) * 2020-12-26 2021-04-02 中国农业银行股份有限公司 Web page test case generation device and method

Also Published As

Publication number Publication date
CN103488560B (en) 2014-11-05

Similar Documents

Publication Publication Date Title
CN103488560B (en) Test object processing method and test object processing device for webpage test
CN102890681B (en) A kind of method and system of generating web page stay in place form
CN102831121B (en) Method and system for extracting webpage information
CN102662969B (en) Internet information object positioning method based on webpage structure semantic meaning
CN110602045B (en) Malicious webpage identification method based on feature fusion and machine learning
CN104317948A (en) Page data capturing method and system
JP2011505605A5 (en)
CN106570750B (en) Browser plug-in-based automatic tax declaring method and system and browser plug-in
CN105335246B (en) A kind of program crashing defect self-repairing method based on question and answer web analytics
CN103309806B (en) The device and method of a kind of quick development and testing
CN106960058A (en) A kind of structure of web page alteration detection method and system
CN102609412A (en) RSS (Really Simple Syndication)-based multi-thread graphic information synchronization crawling control method and system
CN104516813B (en) The choosing method and device of the test node of Webpage
CN101441629A (en) Automatic acquiring method of non-structured web page information
CN103838796A (en) Webpage structured information extraction method
CN104142985A (en) Semi-automatic vertical crawler generation tool and method
CN103631806A (en) Network information fetching method and device
CN104572934A (en) Webpage key content extracting method based on DOM
CN105094836A (en) Method and device for generating description document
CN107015986B (en) Method and device for crawling webpage by crawler
CN109344355A (en) Automatic returning detection and Block- matching adaptive approach and device for Web evolution
CN103559202B (en) A kind of webpage content extraction apparatus and method
CN103235757B (en) Several apparatus and method that input domain tested object is tested are made based on robotization
EP2713287A1 (en) Network comment collection method and system
CN105468753A (en) Multi-coding-format data display system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20151230

Address after: The South Road in Guangdong province Shenzhen city Fiyta building 518057 floor 5-10 Nanshan District high tech Zone

Patentee after: Shenzhen Tencent Computer System Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518044 Zhenxing Road, SEG Science Park 2 East Room 403

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.