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

Test script generation method and device

A test script and test program technology, applied in the field of test script generation methods and devices, can solve the problems of reducing regression test efficiency and spending a lot of time, and achieve the effects of improving test efficiency, increasing generation speed, and increasing the probability of test success

Active Publication Date: 2017-06-09
NEUSOFT CORP
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] From the principle of the above-mentioned regression test automation tools, it can be seen that the existing regression test automation tools are suitable for products with frequent regression tests and fixed test scenarios. If the test scenario changes, the original test script corresponding to the changed test scenario needs to be regenerated , and repeatedly modify the original test script until the test script passes the regression test, so the existing regression test automation tools need to spend a lot of time to modify the test script when the test scenario changes, reducing the efficiency of the regression test

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
  • Test script generation method and device
  • Test script generation method and device
  • Test script generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] 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 making creative efforts belong to the protection scope of the present invention.

[0061] see figure 1 , which shows a flow chart of a method for generating a test script provided by an embodiment of the present invention, which is used to increase the speed of generating a test script to improve test efficiency. Specifically, the test script generation method provided by the embodiment of the present invention may include...

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 test script generation method and device. The test script generation method includes: acquiring an original test script corresponding to a test scene and a test script which has passed a test; reusing a test program in the acquired test script, of the same object element to be tested if each object element to be tested in the original test script is identical to the corresponding object element to be tested in the acquired test script; and modifying a test program of the object element to be tested in the original test script according to the test program of the object element to be tested in the acquired test script if at least one object element to be tested is different. The acquired test script passes the test, the test program of the object element to be tested in the acquired test script passes the test, and in this way, for an object element to be tested, identical to the object element to be tested in the acquired test script, the modifying frequency of the test program corresponding to the object element to be tested can be lowered, the test script generation speed is improved, and the test efficiency is improved.

Description

technical field [0001] The invention belongs to the technical field of regression testing, and more specifically relates to a test script generation method and device. Background technique [0002] Before any product is released, it is necessary to conduct regression testing on the test scenarios corresponding to the main functions of the product, and allow products that pass the regression testing to be released. Therefore, regression testing is a decisive stage in the entire product life cycle. At present, the regression test of products can be realized through regression test automation tools. The principle of regression test automation tools for products is as follows: [0003] The original test script is automatically generated through the regression test automation tool, and the elements of the object under test are modified in the original test script to obtain the test script for the test scenario corresponding to the main function, and the regression test is perform...

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 NEUSOFT CORP
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