Automatic analysis system for testing scripts in cloud testing environments and realization method thereof
A test script and automatic parsing technology, applied in the test script parsing system and its implementation field, can solve the problems of execution impact, result impact, and decrease in the efficiency of test script operation, so as to reduce the complexity, improve the test efficiency, and speed up the execution speed. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] Example 1: Adaptive configuration of test scripts
[0053] The test script adaptive configuration module 2 will configure each test script submitted by the user according to the configuration information submitted by the user and the test environment allocation situation of the cloud test environment module 6, and send the configured test script to the test script distribution module 5. For example, the configuration information submitted by the user requires the operating system to be tested to be Linux, the browser to be Firefox, and the browser version to be 22, and screenshots are required after all assertion statements. The test script adaptive configuration module 2 will write the network entry address of the test environment cluster that conforms to the configuration into each test script, and write the calling code of the Firefox browser into each test script, and then in each test script Insert the screenshot statement after all assert statements. Finally, th...
Embodiment 2
[0054] Example 2: Test script dependency analysis
[0055] Test script dependency analysis module 3 analyzes the execution sequence of test scripts and the test script names that can run in parallel according to the test script names that each test script in the configuration information submitted by the user depends on, and the analysis results are stored in xml document format. And send the analysis result to the test script distribution module 5 with the HTTP protocol. For example, in the configuration information submitted by the user, test script a depends on test script c, test script b depends on test script d, and both test scripts c and d depend on test script e. Then the execution sequence of the test script should be e, c and d, a and b, wherein c and d can be executed in parallel, and a and b can be executed in parallel. The above analysis results are stored in xml file format and sent to the test script distribution module 5 .
Embodiment 3
[0056] Example 3: Test script parameter generation
[0057] The test script parameter generation module 4 combines the test data submitted by the user to generate a test data set. For example, the test script requires three parameters a, b, and c. In the test data submitted by the user, parameter a includes two values of a1 and a2, parameter b includes three values of b1, b2, and b3, and parameter c includes three values of c1, c2, c3, c4, c5 five values. The test script parameter generation module 4 will generate 2×3×5=30 sets of data according to the above data, and write them into the test data set. The above generated test data sets and their corresponding test script names are stored in xml file format and sent to the test script distribution module 5 .
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