To reduce the maintenance workload of testing script, and improve the success rate and return on investment of automation software testing, the method to design and realize the automation software testing based on the architecture with three-layer testing script (reused script, object mapping script and testing script) is brought forward. The design and implementation steps of the architecture with three-layer testing script are introduced. The results of application in several projects show that the method is simple and effective, can achieve the reuse of testing script in the different projects, and increase the return on investment of automation software testing effectively.%为了降低测试脚本的维护工作量,提高软件测试自动化的成功率和投资回报率,提出基于重用脚本、对象映射脚本、测试脚本的3层脚本构架自动化测试设计与实现技术,并介绍了三层脚本构架设计和实施步骤.通过实例应用结果表明该方法简单、有效,实现不同软件版本和不同项目间测试脚本的重用,是一种有效提高自动化测试的成功率和投资回报率的方法.
展开▼