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

A web element location method and its application and storage medium

A positioning method and element technology, applied in the field of Internet technology and web page testing, can solve problems such as manual correction and high cost

Active Publication Date: 2022-07-19
XIAMEN LEELEN TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There is often only one way to locate web elements. For example, if you use the ID attribute to locate web elements, once the ID attribute changes, you need to manually correct it, so that you cannot effectively and simply locate web elements
[0005] Therefore, one of the problems urgently needed to be solved by those skilled in the art is to propose a web element positioning algorithm to automatically calculate the web element positioning, so as to completely get rid of the high cost of traditional web element positioning acquisition and maintenance

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
  • A web element location method and its application and storage medium
  • A web element location method and its application and storage medium
  • A web element location method and its application and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It is particularly pointed out that the following examples are only used to illustrate the present invention, but do not limit the scope of the present invention. Likewise, the following embodiments are only some rather than all embodiments of the present invention, and all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

[0047] like figure 1 As shown, a web element positioning method of the present invention is used for the positioning of controls in a web page, which includes:

[0048]S01, build an information mapping table, the information mapping table includes several control type information, the control type information includes the control type and the label name information corresponding to the control type and / or the control type is locate...

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 web element positioning method, application and storage medium thereof. The positioning method is used for control positioning in a web page, which includes: S01. Building an information mapping table, the information mapping table includes several control type information, the The control type information includes the control type and the label name information corresponding to the control type; S02, determine the type of the control to be located; S03, call the information mapping table according to the type of the control to be located, and construct a positioning expression; S04, load the web page , Match web pages through positioning expressions and generate positioning results. This solution automatically calculates the positioning of web elements without storing and maintaining web elements, eliminating the traditional web automated testing that requires a lot of manpower to acquire and maintain web elements. .

Description

technical field [0001] The invention relates to the technical fields of Internet technology and web page testing, and in particular, to a method for locating a web element and its application and storage medium. Background technique [0002] In the software development process, software testing is indispensable. Software testing uses testing tools to perform testing operations in accordance with certain testing plans and processes, so as to discover defects lurking in software, reduce software development and maintenance costs, and promote software quality improvement. Among them, the cost of software testing accounts for 30% to 50% of the entire software development process. With the continuous improvement of software functional complexity, the corresponding automated testing technology is also constantly developing and improving. [0003] Among various types of automated tests, the test that is closest to the user's needs is the automated test of the user interface (UI) r...

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): G06F16/958G06F16/957
CPCG06F16/958G06F16/957
Inventor 王秋瑶
Owner XIAMEN LEELEN TECH CO LTD