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

A method and device for identifying automated test elements

A technology of automated testing and identification methods, applied in the computer field, can solve the problems of high technical threshold of testers, only text input boxes, complex objects of the system under test, etc., and achieve the effect of reducing the requirements for operating skills

Active Publication Date: 2020-11-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, there are many kinds of system objects under test. Some system objects under test are relatively simple, such as only text input boxes; some system objects under test are more complex, such as data display tables
In the process of automated testing, when identifying these objects, the tester should clarify the hierarchical relationship of the page objects and the identification method of the object level from the bottom of the technology, including the sub-object identification of the nested object, which makes the tester have a better understanding. High technical threshold

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 and device for identifying automated test elements
  • A method and device for identifying automated test elements
  • A method and device for identifying automated test elements

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] 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.

[0022] 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 identifying an automated test element, the method comprising the steps of: obtaining an element in a sequence of operation steps, wherein the element is operable and has a service meaning; if a first object having an association relationship with the element is detected in a preset object library, an identification attribute of thefirst object being used as an identification attribute of the element to identify the element. As the embodiment of the invention automatically identifies the corresponding object in the preset object library of the element in the operation step sequence of the test case compiled by the tester, testers only need to pay attention to the elements in the sequence of test case operation steps in thetest process, which reduces the requirements of automated test tools for testers' operation skills.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and more specifically, to a method and device for identifying automated test elements. Background technique [0002] 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 automation testing tools include QTP, Selenium, WinRunner, Rational, AdventNet, SilkTest, QA, Test, etc. These testing tools require testers to have certain programming skills. [0003] In the prior art, there are many kinds of system objects under test. Some system objects under...

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): G06F11/36
CPCG06F11/3672
Inventor 邢颖周晓光杨理培林振兴杨梁杨维宋海宁
Owner BEIJING UNIV OF POSTS & TELECOMM