Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for automatically grabbing and inputting automatic test elements

An element and parent element technology, which is applied in the field of automatic counting and entry of automated test elements, can solve the problems of cumbersome and error-prone positioning information for identifying elements, and achieve the effect of simple and fast automated testing process and avoid manual entry.

Pending Publication Date: 2021-08-10
BEIJING UNIV OF POSTS & TELECOMM
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, before testing, the tester needs to obtain and input information on the elements designed by the function points in the system under test, so as to ensure the subsequent automated testing process, and the acquisition of element information requires knowledge of HTML Structure, and have a certain knowledge reserve for web coding, identifying the positioning information of elements is a cumbersome and error-prone work, if there is a slight error, problems will occur in the subsequent script execution

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 automatically grabbing and inputting automatic test elements
  • Method and device for automatically grabbing and inputting automatic test elements
  • Method and device for automatically grabbing and inputting automatic test elements

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 clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0025] Functional automation testing in software automation testing is based on black-box testing, and is a testing technology that is adopted when the internal structure of the program is completely unknown and only the program requirement specifications are known; the embodiments of the present invention are mainly aimed at the field of functiona...

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 method and a device for automatically capturing and inputting test elements. The method comprises the following steps: acquiring a page URL (Uniform Resource Locator) where a to-be-tested function point of a tested system is located; initiating a request to a tested system website, and obtaining an HTML (Hypertext Markup Language) source code of a page where a function point is located; analyzing control elements in an HTML source code by using selenium, such as an input box, a pull-down box and the like; collecting unique positioning information of the elements; and calling a back-end interface to input the collected data into the system. According to the embodiment of the invention, the elements of the page website of the given function point are automatically grabbed and recorded into the background, so that the complexity of manual recording by testers in an automatic testing process is avoided, and the automatic testing process is simpler, more convenient and quicker.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of programming, and more specifically, to a method and device for automatically counting and inputting automated test elements. Background technique [0002] In the software development process, software testing is crucial. Software automated testing is a way to convert human-driven testing behavior into machine execution. It can complete a large part of repetitive testing work, greatly improve the efficiency of software testing, and make software testing faster. Functional automated testing in automated testing is based on black-box testing, which is a testing technique used when testers do not know the internal structure of the program at all and only know the program requirements. Common functional automated testing tools include QTP, Selenium, WinRunner, Rational, AdventNet, SilkTest, QA, Test, etc. These testing tools require testers to meet the architectural requirements of t...

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
IPC IPC(8): G06F16/955G06F16/951G06F11/36
CPCG06F16/955G06F16/951G06F11/3688
Inventor 邢颖周晓光于秀丽吴佳轩宋海宁杨维
Owner BEIJING UNIV OF POSTS & TELECOMM
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