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

Generating method and device of test scripts

A technology for testing scripts and generating devices, applied in software testing/debugging, error detection/correction, instruments, etc., can solve problems such as increased workload, content duplication, and related parameter changes, and achieves increased composability and reduced workload. , the effect of increasing the overall efficiency

Inactive Publication Date: 2017-11-24
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this improves the test efficiency to a certain extent, the content in different test scripts is often repeated, which will cause users to repeatedly set the same content when setting test scripts, which will increase the overall workload
In addition, because different test scripts have their own test content, so the versatility is poor, and even the relevant parameters of the program inside the software often change, resulting in the phenomenon that the original corresponding test script cannot be used normally, which will affect Practicality of software testing scripts and overall efficiency of software testing

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 It is a flow chart of a method for generating a test script provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the generation method of the test script include:

[0045] Step S10: Obtain in advance the minimum executable unit that needs to be used during the test, and store the minimum executable unit.

[0046] Since the essence of testing through test scripts is to execute the prescribed steps or methods in the test scripts, and there are many steps and methods that are repeated in many test scripts, the methods or methods that need to be used in the test process are obtained in advance in this step. Steps and as the smallest executable unit. It should be noted that the smallest executable unit is the smallest method or step unit that can realize a certain operation in the test, such as the method of checking the environment, the method of cleaning the environment, the method of RAID creation, and the method...

Embodiment 2

[0053] figure 2 It is a flow chart of another method for generating a test script provided by an embodiment of the present invention. figure 2 In steps S10-S12 and figure 1 Same, no more details here.

[0054]On the basis of the above embodiments, as a preferred embodiment, the combination is specifically:

[0055] Combine the specified minimum executable units into a test module, further combine the specified test modules into an integrated module, and further combine the specified integrated modules into a test system.

[0056] It is understandable that since there are often many software functions to be tested, the test script composed of some minimum executable units cannot fully test the software, so users can combine the minimum executable units into multiple different tests as needed Content test modules, and then combine the test modules into integrated modules according to the test types, and then combine different integrated modules into an overall test system. ...

Embodiment 3

[0081] The embodiment of the method for generating the test script has been described in detail above, and the present invention also provides a device for generating a test script corresponding to the method. Since the embodiment of the device part corresponds to the embodiment of the method part, Therefore, for the embodiment of the device part, please refer to the description of the embodiment of the method part, and details will not be repeated here.

[0082] image 3 It is a structural diagram of a device for generating a test script provided by an embodiment of the present invention. The generating device of the test script provided by the embodiment of the invention specifically includes:

[0083] The unit acquiring module 10 is configured to acquire in advance the minimum executable unit to be used during the test, and store the minimum executable unit.

[0084] The combination setting module 11 is configured to set the combination mode of the minimum executable unit...

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 generating method and device of test scripts. The method comprises the steps that smallest executable units required to be used in the testing process are acquired in advance and stored; according to the demands of a current test, a combination mode of the smallest executable units is set; according to the combination mode, the smallest executable units are combined, and the corresponding test scripts are generated. It can be seen that a user can freely combine the smallest executable units according to the test demands to generate the corresponding test scripts, and accordingly the composability of the test scripts is improved. Furthermore, one arrangement of the smallest executable units by the user can be used multiple times, so that the situation is avoided that the user needs to set same contents repeatedly when setting the test scripts, the workload of setting the test scripts is relatively reduced, and the overall efficiency of testing is greatly improved. In addition, the generating device of the test scripts also has the effects.

Description

technical field [0001] The invention relates to the field of automated testing, in particular to a method and device for generating test scripts. Background technique [0002] With the continuous acceleration of software development, the overall quality of software has gradually become the focus of attention of enterprises and users. Software testing is an effective way to find software errors, measure software quality, and judge whether software meets design requirements. [0003] At present, the agile development model is adopted for software projects. The development iteration cycle is short, and the test cycle is shortened accordingly. With the increase of the software iteration version, the function points that need to be tested also increase. At this time, the efficiency of pure manual testing will appear. Low, the phenomenon of duplication of work content. Therefore, automated test scripts emerge as the times require, and test scripts replace manual test operations 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/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