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

Page element collection method and device

A technology of page elements and collection methods, which is applied in the computer field, can solve the problems of single definition level of page element features and low efficiency of element recording and collection, and achieve the effect of shortening writing time and improving applicability

Active Publication Date: 2020-06-02
CCB FINTECH CO LTD
View PDF12 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of this, the embodiment of the present invention provides a method and device for collecting page elements, which can at least solve the problem of too single definition level of page element features and low efficiency of element recording and collection in the prior art

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 element collection method and device
  • Page element collection method and device
  • Page element collection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0078] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0079] It should be noted that the present invention relates to the application field of web UI automation testing. Though QTP also can realize UI automation test, because the vb that it uses is not object-oriented language, and running speed is slower, so the present invention mainly carries out the construction of UI automation test object storehouse tool based on Seleni...

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 page element collection method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of receiving an acquisition demand for a page, and obtaining a code corresponding to the acquisition demand from a source code of the page; starting from the position of the code, acquiring a descendant similar to the grammatical structure of the code and a first descendant of the descendant; and generating an acquisition template based on the code, the descendant and the first descendant, and performing element acquisition on the page by utilizing the acquisition template to obtain page elements. According to the embodiment, code extraction is carried out on the basis of the acquisition requirements to generate the acquisition template, so that the page elements are acquired in batches, and different from a manual one-by-one recording and acquisition mode, the acquisition speed of the page elements is increased, and the acquisition efficiency is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for collecting page elements. Background technique [0002] The UI (User Interface, user interface) testing work in the field of software development is highly repetitive, such as multiple rounds of testing of new and changed functions, and regression testing of unchanged functions. If manpower is freed from repetitive labor, it can not only effectively save human resources and reduce costs, but also avoid the problem of unstable quality caused by the implementation of different personnel. [0003] At present, the mainstream UI automation testing products, tools or frameworks on the market mainly collect page elements one by one and generate step scripts by recording scripts or manually clicking pages, such as QTP (Quick Test Professional, automated testing tool) or Selenium IDE ( Open source web automation testing tool). [0004] In the process of...

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): G06F9/451G06F11/36
CPCG06F9/451G06F11/3684G06F11/3688Y02D10/00
Inventor 高媛媛刘水泉刘庆文孙启舜
Owner CCB FINTECH 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