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

Method and device for generating test template script

A technology for testing templates and scripts, applied in the computer field, can solve problems such as low efficiency, high technical level requirements, low degree of automation, etc., to achieve the effect of improving efficiency and reducing technical requirements

Inactive Publication Date: 2019-03-08
BEIJING UNIV OF POSTS & TELECOMM
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the automation degree of existing test tools is low, and most of them still need to input test steps through scripts before testing, which is inefficient; and the script input process is still a complicated process with high technical requirements
[0004] At present, there is still no way to solve the above problems

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 generating test template script
  • Method and device for generating test template script
  • Method and device for generating test template script

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] The industrialization of the software industry puts forward higher requirements on the quality of software and its development efficiency, and software testing, as the key to software quality assurance in software development project management, is playing an increasingly important role. As an important means to improve the efficiency of so...

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 device for generating a test template script, wherein the method comprises the following steps of defining corresponding keywords of a component type and an operation type of a system to be tested, and establishing a keyword library; writing a test case document in natural language, which is used to describe all the steps of the test task; according to the preset TCDL scripting language syntax and keyword library, converting all the steps in the test case document into scripting statements; creating a data connection pool, wherein the shapein the data connection pool participates in the script parameters corresponding to the script statements; replacing the script parameters with the corresponding formal parameters to obtain the test template script. The test template script generation method and device provided by the embodiment of the invention realizes the separation of the test template script and the data by replacing the specific parameters with the formal parameters of the data connection pool, thereby rapidly generating a large number of test cases, reducing the technical requirements for software testers to use automatic test tools, and remarkably improving the test efficiency.

Description

technical field [0001] The embodiment of the present invention relates to the field of computer technology, in particular to a method and device for generating a test template script. Background technique [0002] With the rapid development of Internet technology, the demand for software development is increasing. In the software development process, generally the longest and most tedious process is software testing. The purpose of software testing is to systematically find out various potential errors and defects in the software with less time and manpower, and at the same time prove that the functions and performance of the software meet the software requirements. As the amount of software developed increases, and the scale of the developed software increases, the chances of bugs or errors in the software development process become more. Coupled with the market's increasing awareness of the importance of software quality, the importance of software testing in the impleme...

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/36
CPCG06F11/3684G06F11/3688
Inventor 邢颖周晓光王红熳李晋忠赵艳阳杨维宋海宁
Owner BEIJING UNIV OF POSTS & TELECOMM