文档介绍:本科毕业论文(设计)
题目:基于QTP的自动化测试
姓名: 张海波
学号: 1042157124
专业: 计算机科学与技术
院系: 信息工程学院
指导老师: 钱丽
职称学位: 讲师/硕士
完成时间: 2014年5月12日
教务处制
安徽新华学院本科毕业论文(设计)独创承诺书
本人按照毕业论文(设计)进度计划积极开展实验(调查)研究活动,实事求是地做好实验(调查)记录,所呈交的毕业论文(设计)是我个人在导师指导下进行的研究工作及取得的研究成果。据我所知,除文中特别加以标注引用参考文献资料外,论文(设计)中所有数据均为自己研究成果,不包含其他人已经发表或撰写过的研究成果。与我一同工作的同志对本研究所做的工作已在论文中作了明确说明并表示谢意。
毕业论文(设计)作者签名:
日期:
基于QTP的自动化测试
摘要
在软件开发过程中,软件测试是发现软件缺陷的最直接手段,也是作为控制软件缺陷最主要的手段。在不断寻找有效的测试方法同时,自动化测试已经成为提高软件测试效率和解决覆盖面的重要技术手段。
本次毕业设计,首先对现阶段国内外对自动化测试的研究成果及发展前景进行了调研,比较了传统手动测试与自动化测试的优缺点。然后利用自动化软件测试工具Quick Test Professional(简称QTP),以飞机订票系统(Flight)为测试对象,针对Flight的具体功能进行自动化测试。测试过程包括各功能测试场景设计和用例的编写,测试脚本的创建、编辑,对测试脚本的增强、调试,以及对测试执行结果进行分析,检查测试运行过程的正确性。同时通过手工测试与自动化测对比,凸显自动化测试在测试效率等方面的优势。
关键词:软件测试;自动化测试;QTP;功能测试
QTP -based automated testing
Abstract
In the process of software development , software testing is the most direct means to find software defects , but also as a means to control the most important software defects . Constantly looking for effective testing methods at the same time , improve the automated testing software testing has e an important technical means to solve the efficiency and coverage .
The graduation project , the first stage at home and abroad for research and development prospects of automated testing conducted an investigation pare the advantages and disadvantages of the traditional manual testing and automated testing . The use of automated software testing tools Quick Test Professional ( referred QTP), to airline reservation systems (Flight) of the test object , automated testing of specific functional Flight . The functional testing process , including the design and preparation of test scenarios use cases , test scripts to create , edit, enhance test scripts , debug , and analyze the results of the test execution , test run to check the correctness of the process . By simultaneously measuring manual testing and parison , highlighting the advantages of automated testing efficiency and other aspects of the