文档介绍:目录
摘要 1
Abstract 2
第一章前言 3
3
3
3
4
第二章自动化测试工具的研究概述 5
5
5
5
5
IBM Rational 6
QuickTest Professional 6
7
7
7
8
9
第三章基于UML的自动化测试工具分析与设计 10
10
10
10
11
11
11
11
11
11
11
13
13
14
UML状态图 14
UML活动图 16
16
第四章录制模块与对象交互模块的程序实现 17
——Visual C++.NET 17
.NET概述 17
Visual C++.NET的新特性 17
Visual C++.NET的新功能 18
Visual C++.NET增强了开发人员的能力 19
19
20
20
23
24
24
25
25
26
26
27
30
31
32
第五章结论 33
参考文献 34
致谢 35
摘要
自动化测试工具的开发主要针对的是实际软件测试需求,从而减少人工测试的工作量,大大增加在有限的时间内的测试,并且增强测试的质量。
我们开发的自动化测试工具是一个用户界面自动化测试的工具。它分为录制模块、脚本模块、对象交互模块和日志模块,同时程序的执行也是按照这个流程进行。其中对象交互模块为内部模块,衔接脚本管理和日志管理两个模块,本身没有界面显示。
经过分析,我们使用Microsoft公司的Microsoft Visual 开发工具,利用其提供的各种面向对象的开发工具,尤其是界面窗口这一能方便而简洁操纵对象,首先使用UML建立自动化测试工具的模型,然后在已建模型的基础上,以VC++.NET为开发工具对该工具进行实现,并不断修正和改进来不断满足用户需求。
关键词:自动化测试, 对象交互, 录制, UML
Abstract
Test automation tools are developed mainly for actual software testing requirement. Compared to manual testing, proper use of test automation tools will result in lower workload, higher testing efficiency in finite period, and higher quality products.
The test automation tool that we developed is a GUI test automation tool. It is made up of record module, script module, object interaction module and log module. This sequence is consistent with the process of running the program. Any more, object interaction module is an interior module, which links up script module and log module. S