在www.qaSignature.com上找到一篇关于自动化测试的文章《Ten Steps to Building Software Test Automation That Works》
描述了迈向成功自动化测试的路线图:
• Setting up goals and objectives 确定好目标
公司的目标:
提高测试效率
最终用户的目标:
Reduced errors in the product
Regular updates without braking existing functionality
Product that works reliably with any third party solutions or plug-ins
内部开发组织的目标:
Shorten development / release cycle
Streamline development and testing: eliminate bottlenecks, firefighting, or slipping deadlines
Improve productivity of development and QA team
Save money
• Defining budget and ROI 定义好预算和ROI
ROI = savings divided by the cost of automation,
Where savings = Cost of manual testing minus the cost of automated testing
• Analyzing existing QA and development processes 分析现在的开发和QA流程
• Designing your test automation and transition process 设计好你的测试自动化流程,以及如何从现有的流程过渡到测试自动化流程
Making the transition to an automated test environment requires change not only to the way testing is performed, but to the development processes as well.
The 3 major areas of change are to:
1. People
2. Processes
3. Technology
• Identifying, hiring, and training automation resources 寻找、招聘自动化测试工程师,还有培训
Tool Overview Training includes:
1. Automation architecture
2. Approach and development methodology
3. Essentials of automation
4. Execution of automation scripts
5. Interpret the results
• Selecting tools 选择工具
1. Define your requirements (technology, hardware, and software constraints)
2. Compile a possible list of candidates
3. Review vendor requirements
4. Make your selection
• Promoting internal sale and the automation project 把自动化测试项目发扬光大
Start by automating the “critical path” or the main highway through the product and prioritize by measuring the risk and time.
Automate the redundant tests first and give a higher priority to the long test time items because when time deadlines approach, these tests are more likely to be cut short.
As the automation coverage is expanded, the QA professional’s time is freed up to concentrate on writing test scripts and testing new functionality in the product.
• Achieving immediate results 尽可能早地看到自动化测试的效果
Development and Maintenance of Automated Test Scripts Should Be Done in Parallel with Product Development.
• Measuring your progress 度量自动化测试的进展情况
An unlimited number of metrics could be put in place to measure the corresponding improvement from automating the quality assurance testing process.