Method and system for converting test case to automated testing script

A technology for automated testing and test cases, applied in software testing/debugging and other directions to reduce resource consumption, maintenance complexity, and improve efficiency

Active Publication Date: 2012-07-11
BEIJING FEINNO COMM TECH
View PDF2 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is: how to automatically convert test cases into automated test scripts to reduce resource consumption and maintenance between test cases and 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 converting test case to automated testing script
  • Method and system for converting test case to automated testing script
  • Method and system for converting test case to automated testing script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0033] The method and system of the present invention can be connected with the test case management tool, read the test case, automatically generate script operation codes identified by the relevant automated test tool according to the keywords in the test case, and then perform integrity verification and verification on the script Fill in to ensure the correctness and integrity of the code. The generated code can be directly provided to the automated testing tool to run. Specific steps such as figure 1 shown, including:

[0034] Step 101: read the test case written by the user, connect to the test case management tool, and read from the test case management tool that ...

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 discloses a method for converting a test case to an automated testing script, which includes the steps: S1, reading the test case written by a user, and naming operation commands in the test case with keywords and keywords in a code mapping table; S2, searching corresponding testing script codes from the keywords and the code mapping table according to keywords in the test case, and generating the automated testing script; and S3, verifying code integrity of the automated testing script, so that the codes of the automated testing script accord with automated testing tool code standards. By the aid of the method, the test case can be automatically converted to the automated testing script, automated testing efficiency is improved, and resource consumption and maintenance complexity are reduced.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to a method and system for converting test cases into automated testing scripts. Background technique [0002] In the field of automated testing, there are generally two methods for the development of automated test scripts. One is to run a test manually, and at the same time use the recording function of the automated testing tool to record the operations performed and generate a test script. The playback success rate of scripts generated by this technology is relatively low, and later maintenance is also difficult. The second method is to write a test framework, which provides an interface for calling the basic operations required by the test. Testers manually write automated test scripts for calling the interface according to the operation requirements of the use case. This method requires a high level of code for the tester. [0003] In the current automated testing, ...

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
Inventor 李阳
Owner BEIJING FEINNO COMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products