Supercharge Your Innovation With Domain-Expert AI Agents!

A method for determining a search method, a device for determining, a server, and a storage medium

A determination method and processor technology, applied in the direction of instruments, network data query, and other database retrieval, etc., can solve the problem of increasing the amount of modification of test cases, and achieve the effect of lowering the test threshold, reducing costs, and improving efficiency

Active Publication Date: 2022-04-19
CLOUDMINDS (SHENZHEN) ROBOTICS SYST CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The inventors have found that there are at least the following problems in the related technologies: the current testing of web pages often relies on the ability of web page testers to write test cases. For example, when the structure of web pages changes, such as adding controls, the original automation will be caused. The test case may not be able to correctly find each element in the updated web page, and the amount of modification of the test case is greatly increased; however, after the web page is updated, the test cases written by experienced testers do not need to be changed too much

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 method for determining a search method, a device for determining, a server, and a storage medium
  • A method for determining a search method, a device for determining, a server, and a storage medium
  • A method for determining a search method, a device for determining, a server, and a storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized.

[0025] The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present invention, and the various embodiments can be combined and referred to each other on the premise of no contradiction.

[0026] The fir...

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 embodiment of the invention relates to the field of automated testing, and discloses a method for determining a search mode, a determining device, a server, and a storage medium. The method for determining the search method in the present invention includes: obtaining the entropy of each search method for searching the element according to the position information of any element in the webpage and the preset entropy prediction model, and the entropy of each search method for searching the element It is used to indicate the probability that the element found by searching in the updated version of the webpage is not the element. The entropy prediction model is obtained based on the structural information of each version of the training webpage and the label data corresponding to each version. The label data is used to indicate Whether the element found by each search method is a specified element; select the search method with the smallest entropy as the search method of the web page. This embodiment makes it possible to determine the most suitable search method for searching webpage elements. Even if the webpage is updated, the test cases written based on this search method have little change, reducing the maintenance cost of webpage testing.

Description

technical field [0001] The embodiments of the present invention relate to the field of automated testing, and in particular to a method for determining a search mode, a determining device, a server, and a storage medium. Background technique [0002] Since the birth of the Internet, information sharing has become more and more common. Almost all electronic products rely on the Internet to exist, and an object that cannot be ignored in the Internet is the browser. When we visit a website, we use the browser to view various information. There are a variety of web pages, and different web pages have different structures and contain different content. [0003] Web pages are made based on Hyper Text Markup Language (Hyper Text Markup Language, referred to as "html"). Before the webpage is officially released, it is necessary to test the webpage. Usually, webpage testing includes functional testing and automated testing, etc.; automated testing is based on the structure of the ex...

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/953G06F11/36
CPCG06F16/953G06F11/3684
Inventor 董孔明
Owner CLOUDMINDS (SHENZHEN) ROBOTICS SYST CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More