1、 毕毕 业业 论论 文文 论文题目:论文题目:论自动化测试的优劣论自动化测试的优劣 内 容摘要内容摘要 测试工作无论是手工测试还是自动化测试都是软件质量保障的一个途径。对于一些基本 的、逻辑性不强的操作,可以使用自动化测试工具。它可以用简单的脚本,实现大量的重复 的操作。从而通过对测试结果的分析,得出结论,这样不仅节省了大量的人力和物力,而且 使测试的结果更准确。手工测试者最常做的就是重复的手工回归测试,不但代价昂贵,而且 容易出错。自动化测试可以减少但不能消除这种工作的工作量。测试者可以有更多的时间去 从事更有趣的测试,例如在应用程序在复杂的场景下的不同处理等,尽管测试就是要花费更 长的时间
2、找到错误,但比不意味着因此而要付出更高的代价。所以选择正确的测试方法是尤 为重要的。 关键词关键词 自动化测试 手工化测试 测试的周期 脚本 AbstractAbstract Testing whether manual test and automation test is a way of software quality assurance. For some of the basic, logic is not strong operational, can use automated testing tools. It can use a simple script, a large
3、 number of repetitive operations. And through the analysis of the test results, the conclusion, it not only saves a lot of manpower and material resources, and make the test results more accurate. Most often do manual test is repeated manual regression test, not only expensive, but also prone to err
4、or. Test automation can reduce but not eliminate this kind of work. The tester can have more time to do more interesting test, for example in the application in the complex scene under different treatment, although the test is to take longer to find the error, but does not mean that it will pay a hi
5、gher price. So choose the right testing method is particularly important. Key words:Automated tests manual Test cycle Scenario 1 目目 录录 1 1 自动化测试自动化测试 1 1 1.11.1 自动化测试自动化测试概述概述 1 1 1.21.2 自动化测试的前提条件自动化测试的前提条件 1 1 1.2.11.2.1 软件需求变动不频繁软件需求变动不频繁 2 2 1.2.21.2.2 项目周期足够长项目周期足够长 2 2 1.2.31.2.3 自动化测试脚本可重复使用自
6、动化测试脚本可重复使用 2 2 1.31.3 适用场合适用场合 3 3 1.41.4 测试化工具测试化工具 3 3 1.4.11.4.1LoadRunnerLoadRunner 工作原理工作原理 4 4 1.4.21.4.2QTPQTP 测试流程测试流程 4 4 1.51.5 自动化测试的优势自动化测试的优势 5 5 1.61.6 自动化测试的弊端自动化测试的弊端 6 6 2 2 手工测试手工测试 7 7 2.12.1 手手工测试概述工测试概述 7 7 2.2.2 2 手工测试的适用场合手工测试的适用场合 7 7 2.32.3 编写手工测试的细节编写手工测试的细节 8 8 2.2.4 4 手工测试类型的不足之处手工测试类型的不足之处 8 8 2.2.5 5 手工测试的优势手工测试的优势 8 8 3.3.总结总结 9 9 注释注释 1111 参考文献参考文献 1212 致谢致谢 1313 1 1.自动化测试 1.1 自动化测试概述 自动化测试是把以人为驱动的测试行