Use the idea of the class and the reflection of Java, build a flexible, reasonable system
- Write to Java beginners
Part III: The overall concept of the system
I. Description of the automated test steps
In this envisioned automation test system, we use XML as a description of the test steps. Since we want to conduct automation tests, then we must do some ideas for testing. First, the test is always one step (Step) to execute; each step is tested, it has its own test mode, or it is said to be a test operation (Operation); second, the results of the test need to be verified (VALIDATE The verification is based on a condition (condition) to determine whether the verification is passed. Therefore, according to the above idea, we can define a "test procedure XML configuration file"; the approach framework is as follows: "Test step XML configuration file":
Condition>
Success>
Failure>
Validate>
Geturi>
Operation>
Step>
The XML file given above describes an envisioned test step (Step). As you can see, this step (Step) includes an operation (Operation); and