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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com