Generation method and device of test steps and scripts

A technology of test steps and test scripts, which is applied in the field of communication, can solve the problems of low efficiency and low efficiency of business testing, and achieve the effect of improving the efficiency of business testing

Active Publication Date: 2015-03-04
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Due to the inefficiency of testers manually converting business test case files into test steps and test scripts, the final business test efficiency is low

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
  • Generation method and device of test steps and scripts
  • Generation method and device of test steps and scripts
  • Generation method and device of test steps and scripts

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] figure 1 The flow chart of the test steps and test script generation method provided by the embodiment of the present invention; figure 2 It is a schematic diagram of a control data flow graph provided by an embodiment of the present invention. Embodiments of the present invention provide a method for automatically generating test steps and test scripts for the low efficiency of testers manually generating test steps and test scripts. The specific steps are as follows:

[0023] Step S101, perform lexical analysis on the business test case file to obtain multiple lexical types, each lexical type includes at least one word;

[0024] The lexical type includes at least business number, business operation, business name, business premise and punctuation marks.

[0025] Precompile the existing business test case files, that is, initialization processing, specifically to filter out file header information that does not need to be converted; scan the business test case files...

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

An embodiment of the invention provides a generation method and device of test steps and scripts. The generation method includes subjecting a service test case file to lexical analysis to acquire multiple lexical types, each containing at least one word; subjecting the service test case file to grammatical analysis to acquire corresponding relations between words; according to the corresponding relations and the words, generating a control data flow diagram, with the words being nodes of the control data flow diagram, and the corresponding relations being sides of the control data flow diagram; converting the control data flow diagram into the test steps and scripts. According to the arrangement, the service test case file is subjected to the lexical analysis and the grammatical analysis, the control data flow diagram is generated according to the lexical analysis and the grammatical analysis, the nodes and the sides of the control data flow diagram are traversed, and the test steps and scripts are automatically obtained. Compared with the test steps and scripts manually generated by testers, the generation method and device allows higher service test efficiency.

Description

technical field [0001] The embodiments of the present invention relate to the field of communication technologies, and in particular to a method and device for generating test steps and test scripts. Background technique [0002] With the development of communication technologies, the number and complexity of services carried by communication devices are increasing. Therefore, it is necessary to test the services carried by communication devices to ensure normal operation of services. [0003] In the prior art, through testers' understanding of business test case files, the business test case files are manually converted into test steps and test scripts, and business tests are performed according to the test steps and test scripts, wherein the business test case files are described by text, Documents that ordinary testers and business people can understand intuitively. [0004] Due to the inefficiency of testers manually converting business test case files into test steps a...

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): G06F11/36
Inventor张茉莉
OwnerCHINA UNITED NETWORK COMM GRP CO LTD