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

Test script generation method and apparatus

A technology for test scripts and generating devices, which is applied in the field of testing and can solve problems such as low efficiency of software system testing

Active Publication Date: 2016-01-27
ADVANCED NEW TECH CO LTD
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The main purpose of the present invention is to provide a method and device for generating test scripts to solve the problem of relatively low test efficiency of software systems in the prior art

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] According to the embodiments of the present invention, a method embodiment that can be implemented or executed by the device embodiment of the present application can be provided. It should be noted that the steps shown in the flow charts of the drawings can be implemented in such as a set of computer-executable instructions and, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.

[0041] According to an embodiment of the present invention, a method for generating a test script is provided. The method for generating a test script provided by the embodiment of the present invention is described in detail below:

[0042] Figure 4 is a flowchart of a method for generating a test script according to an embodiment of the present invention, such as Figure 4 As shown, the method for generating the test script mainly includes the following steps S402 to S4...

Embodiment 2

[0057]According to an embodiment of the present invention, there is also provided a device for generating a test script for implementing the above method for generating a test script, the device for generating a test script is mainly used to execute the generation of the test script provided in the above content of the embodiment of the present invention Method, the generation device of the test script provided by the embodiment of the present invention is described in detail below:

[0058] Figure 8 is a schematic diagram of a test script generation device according to an embodiment of the present invention, such as Figure 8 As shown, the generating device of the test script mainly includes an adding unit 10, an acquiring unit 20 and a generating unit 30, wherein:

[0059] The adding unit 10 is used to add probes to the system to be tested before the system to be tested runs, wherein the probes are used to record the data in the running process of the system to be tested, ...

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 present invention discloses a test script generation method and apparatus. The test script generation method comprises: before executing a test case in a to-be-tested system, adding a probe into the to-be-tested system, wherein the probe is used for recording data in the process of executing the test case in the to-be-tested system; acquiring data information in the process of executing the test case in the to-be-tested system by means of the probe, wherein the data information is used for identifying a running parameter of executing the test case in the to-be-tested system; and generating test scripts for texting the to-be-tested system by using the data information. By means of the test script generation method and apparatus disclosed by the present invention, the problem of relatively low testing efficiency of a software system in the prior art is solved, so that the effects of improving testing efficiency and reducing cost investment are realized.

Description

technical field [0001] The invention relates to the field of testing, in particular to a method and device for generating test scripts. Background technique [0002] For software system testing, it currently mainly includes system testing, unit testing and integration testing, as follows: [0003] figure 1 It is a schematic diagram of a system test for a software system in the prior art, such as figure 1 As shown, in system testing, the software system under test is regarded as a black box, and the test scripts and tools only face the user-visible interfaces or interfaces, and the test scripts can be produced by coding or recording. The entire test does not care about the internal structure of the software system, and simply simulates the way the user operates the software to perform the test. For this test method, since the user interface and the interface are the most unstable modules in the software system, debugging is difficult and maintenance costs are high. And on...

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): G06F17/30
Inventor 宋俊宋克军
Owner ADVANCED NEW TECH CO LTD