文档介绍:本科毕业设计(论文)
基于QTP的自动化测试
学院(系): 计算机科学与工程学院
专业: 软件工程
学生姓名:
学号:
指导教师:
评阅教师:
大连民族学院
摘要
目前在软件测试行业里,除了大家所熟悉的黑盒测试和白盒测试以外,还分为手工测试和自动化测试。自动化测试相对于手工测试有很多优点,它最主要的优点就是省时,省力,省财务开销。自动化测试工具中具有代表性的是QTP,QTP适用于软件测试中的smoke测试以及回归测试(regression test),QTP脚本具有相当高的可移植性和可重用性,“一本万利”,即一本QTP测试脚本经过简单修改后可以应用于多个测试软件以及测试环境。
本次毕业设计,以QTP为自动化测试工具,以“美图秀秀”软件为被测软件,通过QTP的描述性编程方法,实现该软件从安装到卸载的功能测试和界面检查测试,以及安装完成后的软件功能性测试和UI测试。最终产生可读性好,易于跟踪的QTP自动化报告,用来分析软件的缺陷。通过使用QTP对“美图秀秀”软件进行测试的实例,展示出了QTP自动化测试在软件测试行业中方便,快捷的优越性。
关键词:自动化测试;报告;描述性编程
Automated testing 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 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 for the software under test, through QTP descriptive programming, implementation of the software from installation to uninstall which include the functional testing and inspection interface testing, and the software functionality testing and UI testing after installation pletion. Eventually produce readable and easy to follow the QTP automated reporting, which used to analyze software defects. By using QTP on the "beauties Xiu Xiu" software test examples, demonstrating the convenient, fast superiority of QTP automated testing in the software testing industry.
Key Words:Automated testing;Report;Descriptive programming
目录
摘要 I
Abstract II
1软件测试简介 1
软件测试简介 1
2 自动化测试简介 2
自动化测试的目的 2
自动化测试流程图 3