1、 基于基于QTP的自动化测试的自动化测试 学 院(系): 计算机科学与工程学院 专 业: 软件工程 学 生 姓 名: 学 号: 指 导 教 师: 评 阅 教 师: 基于 QTP 的自动化测试 - I - 摘 要 目前在软件测试行业里,除了大家所熟悉的黑盒测试和白盒测试以外,还分为手工 测试和自动化测试。 自动化测试相对于手工测试有很多优点, 它最主要的优点就是省时, 省力,省财务开销。自动化测试工具中具有代表性的是 QTP,QTP 适用于软件测试中的 smoke 测试以及回归测试(regression test),QTP 脚本具有相当高的可移植性和可重用 性,“一本万利”,即一本 QTP 测试
2、脚本经过简单修改后可以应用于多个测试软件以 及测试环境。 本次毕业设计,以 QTP 为自动化测试工具,以“美图秀秀”软件为被测软件,通 过 QTP 的描述性编程方法,实现该软件从安装到卸载的功能测试和界面检查测试,以 及安装完成后的软件功能性测试和 UI 测试。最终产生可读性好,易于跟踪的 QTP 自动 化报告,用来分析软件的缺陷。通过使用 QTP 对“美图秀秀”软件进行测试的实例, 展示出了 QTP 自动化测试在软件测试行业中方便,快捷的优越性。 关键词:关键词:自动化测试自动化测试;报告报告;描述性编程描述性编程 基于 QTP 的自动化测试 - II - Automated testing
3、 based on QTP Abstract In the software testing industry, with the exception that everyone is familiar distinguished with black box testing and white box testing, it also consist of manual testing and automated testing. The main advantage of automation is saving time, effort, the provincial financial
4、 cost. In automated testing software, QTP is outstanding. QTP used in smoking testing and regression testing (regression test ) in the software testing. QTP script with a very high portability and reusability, “a big profit,“ that is a QTP test script through simple modifications can be applied to various test software and test environment. In this graduation design, using QTP for the automated testing tools and using “beauties Xiu Xiu“ software