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

Method and device for selecting test nodes of network pages

A network page and test node technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of high maintenance cost, uncertain production method, low efficiency, etc., to reduce maintenance cost and improve accuracy. , the effect of reducing the number of

Active Publication Date: 2018-07-27
TENCENT TECH (BEIJING) CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1) Both the above-mentioned first scheme and the second scheme need to manually label similar test nodes one by one, or manually select similar test nodes one by one. When the number of similar nodes is large, it is time-consuming, labor-intensive and inefficient
[0008] 2) Due to the manual operation, it is easy to miss the label or miss the selection, which reduces the accuracy of the test
[0009] 3) The maintenance cost is high. If you need to modify the reference node, you need to manually modify similar nodes one by one
[0010] 4) When the similar nodes in the WEB page are dynamically generated, the labeling scheme of the first scheme is used. Since the generation method is uncertain and the number of nodes is unknown, this scheme cannot be used normally, or the implementation cost is very high ; If you use the second scheme of one-by-one manual selection, because the nodes are dynamically generated, you cannot select them in advance, so this scheme cannot be used normally

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 selecting test nodes of network pages
  • Method and device for selecting test nodes of network pages
  • Method and device for selecting test nodes of network pages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.

[0033] image 3 It is a flow chart of the method for selecting the test node of the web page of the present invention. See image 3 , The process includes:

[0034] Step 301: Obtain the reference node of the web page.

[0035] The reference node is a node selected by the tester, and using this node as a reference, the subsequent steps are performed to find similar nodes of the reference node. The characteristics of the similar nodes can be defined by the tester, and the search conditions in the subsequent steps can be set accordingly. For example, in a preferred embodiment, the similar nodes refer to nodes with similar functions and similar positions in the web page, and the quantitative index is: there is only one node with a different node number in its path, which is similar to each other; that is, It is said that only one node sequence number in t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present application discloses a method and device for selecting a test node of a web page, comprising: a reference node module to obtain the reference node of the web page; a path module to obtain the path of the reference node in the web page; wherein, starting from the reference node, according to the hierarchy of the path of the reference node, searching for similar nodes of the reference node step by step; the submission module submits the found reference node and its similar nodes. By using the invention, the efficiency and accuracy of selecting test nodes can be improved, and the maintenance cost can be reduced.

Description

Technical field [0001] This application relates to the field of computer and Internet data processing technology, and in particular to a method and device for selecting test nodes of a web page. Background technique [0002] At present, many network (Web) automated testing technologies have emerged in the industry. In these technical solutions, controls on the Web can be operated to simulate user input and click operations to achieve Web automated testing. The principle is to test the browser and WEB test objects by calling the COM interface of the browser and the Document Object Model (DOM, Hypertext Markup Language) of Hypertext Markup Language (HTML). [0003] In the existing automated testing process, if there are multiple similar samples on the tested WEB page, and the samples are nodes, in order to obtain multiple test samples in automated testing, there are generally the following two technical solutions: [0004] The first type of WEB automatic testing program, injects the s...

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
CPCG06F11/3672
Inventor 林跃徐立李翔
Owner TENCENT TECH (BEIJING) CO LTD