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

Method and system for automatically generating test script framework based on test case document

A test case and automatic generation technology, applied in the computer field, can solve problems such as time-consuming and limit the efficiency of test scripts, and achieve the effect of improving speed, highlighting substantive features, and rapid development

Inactive Publication Date: 2019-02-01
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the development of test scripts is often based on a large number of use cases. During the development of test scripts, script developers often need to manually query the use case information of use cases when writing and developing new scripts, and then analyze the use case operation steps. It is time-consuming to write a lot of code and note a lot of use case-related information, which greatly limits the efficiency of script developers in developing test scripts

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 system for automatically generating test script framework based on test case document
  • Method and system for automatically generating test script framework based on test case document
  • Method and system for automatically generating test script framework based on test case document

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0040] figure 1 It is a specific implementation manner of the method for automatically generating a test script framework based on a test case document in the present invention. In this embodiment, the method for automatically generating a test script framework based on a test case document includes the following steps s1-s3, which are used to improve the work efficiency of script developers in the computer field to develop scripts.

[0041] s1. Import the target test case document.

[0042] Wherein, the target test case document is the use case document required by the script developer to develop the corresponding script, which includes the test case required by the script developer to develop the corresponding script. Among them, each te...

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 provides a method for automatically generating a test script framework based on a test case document, comprising the steps of: s1, importing a target test case document; S2, reading eachtest case in the target test case document imported in the step s1, and writing each read test case into a List set created in advance correspondingly to obtain a List set of test cases; S3, traversing the test cases in the test case List collection, and generating and outputting a script frame corresponding to each currently traversed test case correspondingly. The invention also provides a system for automatically generating a test script framework based on a test case document corresponding to the method for automatically generating the test script framework based on the test case document. The invention is used for improving the efficiency of developing scripts by script developers.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and a system for automatically generating a test script frame based on a test case document, which are used to assist script developers to write corresponding scripts. Background technique [0002] In the computer field, use case (Use Case) is a very important concept in UML, generally including use case name, use case description, use case operation steps, expected results and test preparation-preconditions, is an abstract description of a set of action sequences, the system Execution of these sequences of actions produces corresponding results. In computing, scripts are often developed based on use cases. [0003] However, the development of test scripts is often based on a large number of use cases. During the development of test scripts, script developers often need to manually query the use case information of use cases when writing and developing new scripts, and then ana...

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/36G06F8/30
CPCG06F8/315G06F11/3684
Inventor 张松陈小天
Owner ZHENGZHOU YUNHAI INFORMATION TECH 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