找回密码
 注册
搜索
查看: 5165|回复: 27

[软件测试资料] 软件自动化测试工具winrunner中文教程

[复制链接]
发表于 2007-5-21 10:49:52 | 显示全部楼层 |阅读模式
软件测试工程师的工作通俗的说就是软件行业的质检员,负责把好软件生产过程中的质量关,使生产出来的软件的功能与性能达到设计之初的要求,让用户用上高质量的软件,使企业的产品更具竞争力。因此软件测试工程师的工作非常的重要,在国内,软件测试工程师的重要性也就是这两三年才被认识到,上海市政府把他列为2005年最紧缺人才,薪资待遇在官方公布的工资指导价位上已经超过程序员,就业前景非常的好。

                                      多多支持黄金职位!~-~
[em09]
【文件名】:07521@52RD_WinRunner使用说明第二版.pdf
【格 式】:pdf
【大 小】:2919K
【简 介】:WINRUNNER是基于MS windows功能测试工具,由于C/S结构软件功能越来越快,QA部门测试难度越来越大,手工测试已经跟不上这种发展趋势,掌握自动化测试工具是必然。
【目 录】:目录
1.  简介.......................................................................................................................................................7
1.1  WinRunner测试模式...................................................................................................................7
1.2  WinRunner测试过程...................................................................................................................8
1.3  样本软件.....................................................................................................................................10
1.4  使用TestSuite(测试套件)..........................................................................................................11
2.  WinRunner使用概述..........................................................................................................................12
2.1  启动WinRunner.........................................................................................................................12
2.2  WinRunner主窗口.....................................................................................................................13
2.3  测试窗口.....................................................................................................................................14
2.4  加载WinRunner 插件...............................................................................................................15
3.  WinRunner如何识别GUI对象.........................................................................................................16
3.1  关于识别GUI对象....................................................................................................................16
3.2  测试中如何识别GUI对象........................................................................................................17
3.3  物理描述(Physical Description)............................................................................................18
3.4  逻辑名(Logic Names)...........................................................................................................19
3.5  GUI map......................................................................................................................................20
3.6  设定窗体环境(Window Context)..........................................................................................21
4.  理解GUI map.....................................................................................................................................22
4.1  关于GUI map.............................................................................................................................22
4.2  查看GUI对象属性....................................................................................................................23
4.3  教WinRunner被测软件的GUI................................................................................................27
4.4  在GUI map中找到对象或窗体................................................................................................28
4.5  GUI map files使用概要.............................................................................................................29
4.6  GUI map file模式的选取..........................................................................................................30
5.  Global GUI Map File(共用GUI地图文件)模式的使用..............................................................31
5.1  关于Global GUI Map File模式................................................................................................31
5.2  测试中共享GUI Map File.........................................................................................................32
5.3  让WinRunner学习GUI............................................................................................................33
5.4  保存GUI Map............................................................................................................................39



第 2 页 共 189 页





5.5  加载GUI Map文件...................................................................................................................41
5.6  Global GUI Map File模式要点.................................................................................................43
6.  GUI Map File per Test模式的使用....................................................................................................44
6.1  关于GUI Map File per Test模式...............................................................................................44
6.2  GUI Map File per Test模式下工作............................................................................................46
6.3  GUI Map File per Test模式要点................................................................................................47
7.  编辑GUI Map.....................................................................................................................................48
7.1  关于编辑GUI Map....................................................................................................................48
7.2  运行巫师(Run Wizard)..........................................................................................................49
7.3  GUI Map 编辑器.......................................................................................................................51
7.4  修改逻辑名和物理描述.............................................................................................................53
7.5  WinRunner处理可变的窗体卷标.............................................................................................54
7.6  在物理描述中使用常规表达式.................................................................................................56
7.7  在文件间复制和移动对象.........................................................................................................57
7.8  在GUI Map File里找到对象....................................................................................................59
7.9  在多个GUI Map File里找到对象............................................................................................60
7.10 在GUI Map File里手工添加对象............................................................................................61
7.11 从GUI Map File里删除对象....................................................................................................62
7.12 清除GUI Map File.....................................................................................................................63
7.13 筛选显示对象.............................................................................................................................64
7.14 保存GUI Map的变更...............................................................................................................65
8.  合并GUI Map File.............................................................................................................................66
8.1  关于合并GUI Map File.............................................................................................................66
8.2  合并GUI Map File的准备........................................................................................................67
8.3  解决自动合并GUI Map文件的冲突.......................................................................................69
8.4  手工合并GUI Map文件...........................................................................................................71
8.5  改变到Global GUI Map File模式............................................................................................73
9.  配置GUI Map.....................................................................................................................................74
9.1  关于配置GUI Map....................................................................................................................74
9.2  理解GUI Map的默认配置.......................................................................................................75
9.3  把自定义对象映射到标准的类.................................................................................................76
9.4  配置标准或自定义的类.............................................................................................................78



第 3 页 共 189 页





9.5  创建永久的GUI Map配置.......................................................................................................82
9.6  删除自定义的类.........................................................................................................................83
9.7  类属性.........................................................................................................................................84
9.8  所有属性.....................................................................................................................................85
9.9  默认学习属性.............................................................................................................................88
9.10 Visual Basic对象的属性............................................................................................................89
9.11 PowerBuilder对象的属性..........................................................................................................90
10.  学习虚拟对象.....................................................................................................................................91
10.1 关于学习虚拟对象.....................................................................................................................91
10.2 定义一个虚拟对象.....................................................................................................................92
10.3 理解虚拟对象的物理描述.........................................................................................................95
11.  创建测试.............................................................................................................................................96
11.1 关于创建测试.............................................................................................................................96
11.2 解决常见的环境感应录制问题.................................................................................................97
11.3 模拟录制.....................................................................................................................................98
11.4 检查点.........................................................................................................................................99
11.5 数据驱动测试...........................................................................................................................100
11.6 同步点.......................................................................................................................................101
11.7 计划一个测试...........................................................................................................................102
11.8 测试信息文档化.......................................................................................................................103
11.9 测试相关插件...........................................................................................................................105
11.10 录制测试...........................................................................................................................106
11.11 用热键激活测试创建命令...............................................................................................107
11.12 测试编程...........................................................................................................................109
11.13 编辑测试...........................................................................................................................110
12.  检查GUI对象..................................................................................................................................111
12.1 关于检查GUI对象..................................................................................................................111
12.2 检查单个属性的值...................................................................................................................112
12.3 检查单个对象...........................................................................................................................113
12.4 检查一个窗体中的多个对象...................................................................................................115
12.5 检查一个窗体中的所有对象...................................................................................................116
12.6 理解GUI检查点语句..............................................................................................................117



第 4 页 共 189 页





12.7 在GUI检查点中使用已存在的GUI检查清单.....................................................................118
12.8 修改GUI检查清单..................................................................................................................119
12.9 理解GUI检查点对话框..........................................................................................................120
12.10 属性检查和默认检查.......................................................................................................121
12.11 为属性检查指定变量.......................................................................................................124
12.12 编辑属性期望值...............................................................................................................127
12.13 修改GUI检查点的期望结果..........................................................................................128
13.  ActiveX和Visual Basic控件..........................................................................................................129
13.1 关于ActiveX和Visual Basic控件.........................................................................................129
13.2 选择合适的Visual Basic软件支持.........................................................................................130
13.3 查看ActiveX和Visual Basic控制属性.................................................................................131
13.4 获得和设置ActiveX和Visual Basic控制属性的值.............................................................132
13.5 激活ActiveX控件的方法.......................................................................................................134
13.6 使用Visual Basic卷标控件.....................................................................................................135
13.7 检查ActiveX和Visual Basic控件的子对象.........................................................................137
13.8 TSL支持AcitiveX控件功能表..............................................................................................138
14.  检查网页...........................................................................................................................................139
14.1 关于检查网页...........................................................................................................................139
14.2 检查标准帧属性.......................................................................................................................140
14.3 检查帧中的对象计数...............................................................................................................141
14.4 检查帧、表和单元格的结构...................................................................................................142
14.5 检查帧、单元格、链接或图片的内容...................................................................................143
14.6 检查表中行和列的数目...........................................................................................................144
14.7 检查链接的URL......................................................................................................................145
14.8 检查图片和图片链接的来源及类型.......................................................................................146
14.9 检查文本链接的颜色或字体...................................................................................................147
14.10 检查坏的链接...................................................................................................................148
14.11 检查表的内容...................................................................................................................149
14.12 检查帧中的链接和图片...................................................................................................150
14.13 理解Edit Check对话框...................................................................................................151
14.14 检查文本...........................................................................................................................156
15.  检查表的内容...................................................................................................................................158



第 5 页 共 189 页





15.1 关于检查表的内容...................................................................................................................158
15.2 使用默认检查...........................................................................................................................159
15.3 指定检查...................................................................................................................................160
15.4 理解编辑检查(Edit Check)对话框.....................................................................................161
16.  检查数据库.......................................................................................................................................166
16.1 关于检查数据库.......................................................................................................................166
16.2 创建运行时数据库记录检查点...............................................................................................168
16.3 创建数据库默认检查...............................................................................................................173
16.4 创建数据库自定义检查...........................................................................................................174
16.5 数据库检查点对话框中的消息...............................................................................................176
16.6 使用数据库检查点巫师...........................................................................................................177
16.7 编辑数据库检查点...................................................................................................................177
16.8 参数化标准数据库检查点.......................................................................................................178
16.9 数据库相关的TSL功能..........................................................................................................180
17.  检查文本...........................................................................................................................................182
17.1 关于检查文本...........................................................................................................................182
17.2 读取文本...................................................................................................................................183
17.3 查找文本...................................................................................................................................184
17.4 比较文本...................................................................................................................................187
17.5 WinRunner学习新字体............


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 发表于 2007-5-25 19:57:21 | 显示全部楼层
很实用啊,太好拉啊[em05]
点评回复

使用道具 举报

发表于 2007-6-16 11:22:33 | 显示全部楼层
谢谢拉[em01]
点评回复

使用道具 举报

发表于 2007-8-7 13:10:09 | 显示全部楼层
为什么还没有到15分钟啊,我下不了
点评回复

使用道具 举报

发表于 2007-10-18 10:11:25 | 显示全部楼层
好东西,谢谢你的分享[em01]
点评回复

使用道具 举报

发表于 2007-10-19 17:47:06 | 显示全部楼层
等待中。。。。[em02]
点评回复

使用道具 举报

发表于 2007-10-20 11:56:35 | 显示全部楼层
不错,支持一下
点评回复

使用道具 举报

发表于 2007-10-27 21:30:47 | 显示全部楼层
[em02][em04][em05][em06][em07]
点评回复

使用道具 举报

发表于 2007-11-1 14:02:35 | 显示全部楼层
[em05][em05]
点评回复

使用道具 举报

发表于 2007-11-1 16:37:57 | 显示全部楼层
好东西,也不贵,真是实惠啊![em01]
点评回复

使用道具 举报

发表于 2007-11-10 16:49:31 | 显示全部楼层
真的很好,很需要啊!
点评回复

使用道具 举报

发表于 2007-11-28 09:32:57 | 显示全部楼层
非常感谢!
最近正在找这资料.
点评回复

使用道具 举报

发表于 2007-12-10 17:42:50 | 显示全部楼层
刚下好
阅读去
点评回复

使用道具 举报

发表于 2007-12-12 00:51:47 | 显示全部楼层
一直在找,终于找到了,谢谢!
点评回复

使用道具 举报

发表于 2007-12-31 22:01:50 | 显示全部楼层
太感谢了,很实用的教程[em01][em08]
点评回复

使用道具 举报

发表于 2008-1-2 02:26:36 | 显示全部楼层
很实用的教程
点评回复

使用道具 举报

发表于 2008-1-12 16:21:32 | 显示全部楼层

怎么不能下?

怎么不能下?
点评回复

使用道具 举报

发表于 2008-1-12 16:39:34 | 显示全部楼层
这资料很好,实用.
点评回复

使用道具 举报

发表于 2008-4-20 20:08:44 | 显示全部楼层
[em03][em03][em03][em03]
点评回复

使用道具 举报

发表于 2008-7-28 10:33:32 | 显示全部楼层
内容不错,很详细[em01]
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-11-16 16:50 , Processed in 0.057901 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表