Automatic WEB testing method based on parallel execution
A technology of automated testing and test cases, applied in the computer field, can solve problems such as large time consumption, achieve the effects of shortening execution time, saving test physical resources, and responding quickly to agile development
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] Such as figure 1 Show a kind of WEB automated testing method based on parallel execution, described method comprises the following steps:
[0029] S1: Write the test case execution file. The specific process is: write the test case as an executable java file and name it test***.java, where *** is the name or number of the test case.
[0030] S2: Set the execution order of test cases; the specific implementation process is: write a file in xml format to organize the parallel execution order of test cases, and determine the concurrency level by configuring the two parameters parallel and thread-count in the xml configuration file.
[0031] Paralle parameters can have the following three options:
[0032] 1) Tests: Use cases under different tests are executed in different threads, and use cases under the same test can only be executed sequentially in one thread.
[0033] 2) Classes: Use cases under different classes are executed in different threads, and use cases under ...
Embodiment 2
[0054] Such as figure 2 Show a kind of WEB automated testing method based on parallel execution, described method comprises the following steps:
[0055] S0: Set test case dependencies. The specific implementation process is: analyze the dependencies of automated test cases. For test cases with dependencies, put these dependencies into a group through the Group annotation function of Testng to ensure no dependencies. The test cases are fully decoupled.
[0056] S1: Write the test case execution file. The specific process is: write the test case as an executable java file and name it test***.java, where *** is the name or number of the test case.
[0057] S2: Set the execution order of test cases; the specific implementation process is: write a file in xml format to organize the parallel execution order of test cases, and determine the concurrency level by configuring the two parameters parallel and thread-count in the xml configuration file.
[0058] Paralle parameters can ...
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