1. Software test automation
1.1 The concept of automated testing
Automated Testing: Testing is through a tool or other means, in accordance with the scheduled test engineers to automate testing of software products
Software test automation involves aspects of the testing process, test systems, automated compilation and automated testing and integration
Limitations: can not replace manual testing, manual testing more than automated testing defects found, can not be used to test the project cycle is very short, can not guarantee 100% test coverage, test unstable software can not, can not easily test software use of
Irreplaceable manual testing include: test case design, interface and user experience testing, check the correctness
test tools;
1. white-box testing tools: divided into static and dynamic testing tools testing tools
2. black box testing tools: divided into functional testing tools (QTP), performance testing tools (logorunner)
3. Test Management Tool
Automated testing tool features:
1. Support for scripting languages
2. The ability to recognize the program interface object
3. Support functions reusable
4. Support for external libraries
The abstraction layer - interface program object entity mapped into logical object
6. Support data-driven testing
7. Error Handling
8. Debugger
9. Source Control
10. Support command line script
Automated processes:
1. Feasibility Analysis
2. Test Tool Selection
3. Design test framework
4. Design of test cases
5. Develop test scripts
6. Using test scripts
7. Maintenance Test Assets
The method of preparation of automated test scripts:
Automation project, like ordinary software development projects, the encoding stage, mainly to automate test cases designed to pass the test script, development methodology automated functional test scripts are the following:
1. Linear (simple recording and playback)
2. structured (structural control script)
3. Share of (part of the public, the ordinary functions of scripts independent)
4. The data-driven (data separate from the script)
The key drive (control checkpoint and separating operation is performed)