Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Page object searching method and device

A page object and object technology, applied in the computer field, can solve problems such as unloaded control objects and scripts that cannot successfully identify control objects, and achieve the effect of improving recognition efficiency

Pending Publication Date: 2020-09-18
TAIKANG LIFE INSURANCE CO LTD +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Then, due to differences in the network environment, server throughput, or loading performance, it is easy to cause the control object in the page to be generated, but the corresponding part of the control object in the DOM structure has not been loaded, causing the script to fail. Successfully identify the displayed control object on the page, when operating on the control object on the page, it will prompt that the control does not exist

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
  • Page object searching method and device
  • Page object searching method and device
  • Page object searching method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Apparently, the described embodiments are some of the embodiments of the present application, but not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0055] In the computer field, in the face of the identification of page objects in web pages dominated by IE browsers, such as figure 1As shown, after the browser is started and the web page is opened, the user or the automated script can determine the target object to be operated, wait for the target object in the current page to be loaded, and then search for the target object in the DOM structure...

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 provides a page object searching method and device, and the method comprises the steps: determining identification information corresponding to a control in a preset webpage in response to an operation request, for the control in the preset webpage, of an automatic test script in a running process; determining a currently loaded code file; judging whether the code file contains a target page object corresponding to the identification information or not; if not, waiting for the code file to finish loading, and returning to the step of judging whether the code file contains the target page object corresponding to the identification information or not; if yes, writing the code file in the code file, calling the target page object to execute the operation request. According to the page object searching method and device, loading waiting of the code file is achieved, when the code file does not include the page object, the code file is updated until the codefile includes the page, it is guaranteed that when the control in the page is displayed, the corresponding page object can be found in the code file, and the recognition efficiency of the page objectis improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a search method and device for page objects. Background technique [0002] With the continuous development of computer technology, a variety of network programs provide a fast and convenient experience for people's work and life. [0003] In the prior art, after the browser is started and the page is opened, object recognition can be performed by traversing the DOM (Document Object Model) structure corresponding to the control object in the page, and corresponding operations are performed after the object is recognized. In the process, it is not judged whether the control object exists in the DOM structure. [0004] Then, due to differences in the network environment, server throughput, or loading performance, it is easy to cause the control object in the page to be generated, but the corresponding part of the control object in the DOM structure has not been loaded, ...

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 Applications(China)
IPC IPC(8): G06F11/36G06F16/957G06F16/958
CPCG06F11/3688G06F16/986G06F16/9574
Inventor 范昕李静徐莉莉
Owner TAIKANG LIFE INSURANCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products