jason_zhang82 2008-1-24 10:53
IBM&51Testing第二十二期软件测试沙龙(深圳站)提问回复
[color=#000000][font=宋体][size=4] 由于受时间的限制,沙龙最后阶段的提问时间有限,无法对大家的问题做逐一回复,现在将大家的问题并同51Testing高级讲师王海龙老师的回答一一列出,供大家分享。由于少数问题问得不够详细,欢迎提问者继续跟贴,同样可以得到回复。[/size][/font][/color]
[font=宋体][color=#000000][/color][/font]
[align=left][color=#000000][b][font=宋体][size=14pt]自动化测试概念、流程测试实施等方面的问题[/size][/font][/b][b][size=14pt][/size][/b][/color][/align]
[size=12pt][font=Times New Roman][color=#000000]1.[/color][/font][/size][color=#000000][font=宋体][size=12pt]投入产出比的控制[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 这个问题没有标准答案,这个和公司项目的复杂度、管理模式、质量要求、测试策略、人员水平有很大关系。你会发现现在的人说因为成本高自动化测试不能做,但是换了人,问题却轻松解决了。如何你要得出相对准确的数据,需要进行投入研究和通过数据说话。举个简单的例子,百胜集团旗下的“东方既白”中餐,实行的同样是产品过期要丢弃掉的策略,如何精确控制产品量又能满足用户点餐需求又不浪费,他可以参考“肯德基”在同一地区详细的客户流量数据。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]2.[/color][/font][/size][color=#000000][font=宋体][size=12pt]自动化测试覆盖率的控制[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 从技术角度,只有被测试系统提供能与测试工具交互的接口,均可以实现自动化,即百分百的自动化。但是从成本角度,测试范围要进行合理的划分,具体怎么确定,你首先要确定你的自动化测试目标到底是什么。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]3.[/color][/font][/size][color=#000000][font=宋体][size=12pt]嵌入式软件的自动化测试如何实现[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 任何系统自动化测试原理都一样,只要测试工具和被测试系统直接的接口问题解决了,就能够实现自动话测试。嵌入式系统因为受平台的限制,不能像[/size][/font][size=12pt][font=Times New Roman]windows[/font][/size][font=宋体][size=12pt]上面随意安装测试工具。测试方法一是讲嵌入式软件在[/size][/font][size=12pt][font=Times New Roman]PC[/font][/size][font=宋体][size=12pt]上的模拟环境运行测试,或者开发一个和[/size][/font][size=12pt][font=Times New Roman]PC[/font][/size][font=宋体][size=12pt]连接的接口进行自动化测试。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]4.[/color][/font][/size][color=#000000][font=宋体][size=12pt]自动化测试,要做到怎样的程度才能使公司看到实际的效果[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 要想解决这个问题,你必须仔细分析为什么做自动化测试,自动化测试的目标是什么。不是粗略的说因为客户替代手工测试。比如说,通过分析发现目前在测试执行环节花费了[/size][/font][size=12pt][font=Times New Roman]70[/font][/size][font=宋体][size=12pt]%的手工测试时间,回归测试的平均周期为[/size][/font][size=12pt][font=Times New Roman]5[/font][/size][font=宋体][size=12pt]天,而且这是目前测试工作最主要要解决的瓶颈,你的目标明确了,接下来实施自动化测试,再进行数据的统计比较。还有什么比数据更能说明问题呢。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]5.[/color][/font][/size][color=#000000][font=宋体][size=12pt]自动化测试对整个项目的测试流程有影响吗[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 当然有,以前是测试用例设计、手工执行,现在是手工和自动化测试用例设计、测试脚本开发、手工和自动化测试执行。组织架构也需要适应新的流程。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]6.[/color][/font][/size][color=#000000][font=宋体][size=12pt]对什么模块或程序适合做自动化测试,是否可以给出一个明确的定义[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 只要测试工具和被测试系统之间有接口,都可以自动化测试。对测试工程师个人而言,这个问题与你的自动化测试技术水平有关。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[font=Times New Roman][size=12pt][color=#000000]7.[/color][/size][size=12pt][color=#000000]QTP[/color][/size][/font][color=#000000][font=宋体][size=12pt]中集合点,查检点,[/size][/font][size=12pt][font=Times New Roman]Actoion[/font][/size][font=宋体][size=12pt]调用等齐用于一个测试中时,会报错,但是各个功能作用点单独使用时,却不会报错(报错项一般为“对象找不到”)[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 检查一下,是不是对象的上下文不对。可以在每个[/size][/font][size=12pt][font=Times New Roman]Action[/font][/size][font=宋体][size=12pt]之前调用对象的[/size][/font][font=Times New Roman]Activate[/font][font=宋体][size=12pt]方法,获取焦点。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]8.[/color][/font][/size][color=#000000][font=宋体][size=12pt]在很多人的头脑中,自动化测试就是将手工测试转化为程序执行,请问,这个概念有个问题[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 没有问题,这个是表象。我胶片上说的是自动化测试本质,关注的是这个过程是怎么转化的。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]9.[/color][/font][/size][color=#000000][font=宋体][size=12pt]对自动化测试概念不清楚,更不清楚其流程及实施等问题。我认为举办讲座不应该讲怎样测试等技术问题,我知道测试的重要性,但我对测试还处于入门阶段,我希望普及测试的知识,怎样测试[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 软件测试沙龙是公益活动,每次沙龙设定一个主题,人员众多有人听不懂或者不感兴趣这很正常。自动化测试你不懂,所以你才要学习,你现在用不到不代表你以后用不到,为什么不现在先了解一下呢。你希望的测试普及知识,你可以自己学或者参加培训学习。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]10.[/color][/font][/size][color=#000000][font=宋体][size=12pt]如何对开发文档进行管理[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 可以使用[/size][/font][size=12pt][font=Times New Roman]VSS[/font][/size][font=宋体][size=12pt]、[/size][/font][size=12pt][font=Times New Roman]CVS[/font][/size][font=宋体][size=12pt]、[/size][/font][size=12pt][font=Times New Roman]ClearCase[/font][/size][font=宋体][size=12pt]等版本管理工具或配置管理工具。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]11.[/color][/font][/size][color=#000000][font=宋体][size=12pt]有没有基于嵌入式系统,像[/size][/font][size=12pt][font=Times New Roman]uqos[/font][/size][font=宋体][size=12pt],[/size][/font][size=12pt][font=Times New Roman]Vxwerks[/font][/size][font=宋体][size=12pt],[/size][/font][size=12pt][font=Times New Roman]Linux[/font][/size][font=宋体][size=12pt]的自动化测试框架[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 需要自己开发,现成的好像没有。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[color=#000000][b][font=宋体][size=14pt]自动化测试工具使用方面问题[/size][/font][/b][b][size=14pt][/size][/b][/color]
[size=12pt][font=Times New Roman][color=#000000]1.[/color][/font][/size][color=#000000][font=宋体][size=12pt]一台服务器带有双网卡,一网卡连内网,一网卡连外网,运行脚本的[/size][/font][size=12pt][font=Times New Roman]pc[/font][/size][font=宋体][size=12pt]机可以用两个[/size][/font][size=12pt][font=Times New Roman]ip[/font][/size][font=宋体][size=12pt]访问这台服务器但脚本使用外网[/size][/font][size=12pt][font=Times New Roman]ip[/font][/size][font=宋体][size=12pt]执行会报错,什么原因[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 什么错误信息?[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[font=Times New Roman][size=12pt][color=#000000]2.[/color][/size][size=12pt][color=#000000]QTP[/color][/size][/font][color=#000000][font=宋体][size=12pt]有否提供官方的框架[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 可以看一下[/size][/font][size=12pt][font=Times New Roman]Test Batch Runner[/font][/size][font=宋体][size=12pt]和[/size][/font][size=12pt][font=Times New Roman]Multi Test Manager[/font][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]3.[/color][/font][/size][color=#000000][font=宋体][size=12pt]什么时候才需要安装[/size][/font][size=12pt][font=Times New Roman]java[/font][/size][font=宋体][size=12pt]插件?是指[/size][/font][size=12pt][font=Times New Roman]java[/font][/size][font=宋体][size=12pt]开发的平台都需要吗[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 如果是[/size][/font][size=12pt][font=Times New Roman]B/S[/font][/size][font=宋体][size=12pt]的程序,[/size][/font][size=12pt][font=Times New Roman]java[/font][/size][font=宋体][size=12pt]程序是在服务器端运行,客户端是[/size][/font][size=12pt][font=Times New Roman]HTML[/font][/size][font=宋体][size=12pt]、[/size][/font][size=12pt][font=Times New Roman]XHTML[/font][/size][font=宋体][size=12pt]等,所以不需要安装。如果是[/size][/font][size=12pt][font=Times New Roman]CS[/font][/size][font=宋体][size=12pt]的则需要安装。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]4.[/color][/font][/size][color=#000000][font=宋体][size=12pt]如何录制下载文档的问题[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 录制[/size][/font][size=12pt][font=Times New Roman]GUI[/font][/size][font=宋体][size=12pt]界面操作就可以了,不知道你碰到的具体问题是什么。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]5.[/color][/font][/size][color=#000000][font=宋体][size=12pt]如何录制打印问题[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 问题不是很具体。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]6.[/color][/font][/size][color=#000000][font=宋体][size=12pt]如何调用[/size][/font][size=12pt][font=Times New Roman]QTP[/font][/size][font=宋体][size=12pt]里的[/size][/font][size=12pt][font=Times New Roman]datatable[/font][/size][font=宋体][size=12pt]中的一个数值来计算[/size][/font][/color]
[color=#000000][font=宋体][size=12pt] 利用[/size][/font][size=12pt][font=Times New Roman]Datatable[/font][/size][font=宋体][size=12pt]对象调用,计算时还需要数据类型转换。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]7.[/color][/font][/size][color=#000000][font=宋体][size=12pt]对[/size][/font][size=12pt][font=Times New Roman]CGI[/font][/size][font=宋体][size=12pt]的性能测试采用何种工具会比较合适[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 性能测试和网络协议有关。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]8.[/color][/font][/size][color=#000000][font=宋体][size=12pt]对于分布式性能[/size][/font][size=12pt][font=Times New Roman]([/font][/size][font=宋体][size=12pt]服务布置在不同物理服务器[/size][/font][size=12pt][font=Times New Roman])[/font][/size][font=宋体][size=12pt]如何设计合理性能测试[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 首先弄清出这些服务器的工作机制,任务是如何分配的,然后设计性能测试目标。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]9.[/color][/font][/size][color=#000000][font=宋体][size=12pt]通过怎样的手段将性能测试环境更加真实地模拟用户环境[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 如果成本允许可以搭建和用户环境一致的测试环境。或者通过备份恢复在测试环境进行测试,[/size][/font][size=12pt][font=Times New Roman]HP Mercury[/font][/size][font=宋体][size=12pt]也提供容量规划工具,用于评估当测试环境和用户环境不一致时的容量规划问题。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]10.[/color][/font][/size][color=#000000][font=宋体][size=12pt]多媒体类的小产品[/size][/font][size=12pt][font=Times New Roman]([/font][/size][font=宋体][size=12pt]如视频转换工具[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]视频电子相册等[/size][/font][size=12pt][font=Times New Roman])[/font][/size][font=宋体][size=12pt]是否适合做自动化功能测试[/size][/font][size=12pt][font=Times New Roman]?[/font][/size][font=宋体][size=12pt]有怎样的工具比较适合[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 分析是否有测试接口。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]11.[/color][/font][/size][color=#000000][font=宋体][size=12pt]在中国很多企业对软件测试还不是很重视[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]多讲解决方案客观的东西[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]不要讲微观等很细很技术的东西[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 微观都解决不了,谈什么宏观。不重视,恰恰是对微观的东西不了解。还有,作为测试人员,如果公司不重视,那你是不是可以做成成绩让公司重视。作不出成绩,当然得不到重视。不要总抱怨公司不重视,想想自己为公司奉献了什么,首先要提高的是自己的技术水平。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[color=#000000][font=Times New Roman][size=12pt]12.[/size][size=12pt]Robot[/size][/font][font=宋体][size=12pt]能正常录制[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]但不能正常回放[/size][/font][size=12pt][font=Times New Roman]([/font][/size][font=宋体][size=12pt]某些控件[/size][/font][size=12pt][font=Times New Roman])[/font][/size][font=宋体][size=12pt]有如何解决方案[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 错误信息是什么?[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]13.[/color][/font][/size][color=#000000][font=宋体][size=12pt]对不可识别控件有何方案[/size][/font][size=12pt][/size][/color]
[color=#000000][size=12pt][font=Times New Roman] QTP[/font][/size][font=宋体][size=12pt]提供了模拟录制、[/size][/font][size=12pt][font=Times New Roman]Low[/font][/size][font=宋体][size=12pt]-[/size][/font][size=12pt][font=Times New Roman]level[/font][/size][font=宋体][size=12pt]录制、虚拟对象等技术,但是不能完全解决这个问题。可以通过开发被测试程序的测试接口解决。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]14.[/color][/font][/size][color=#000000][font=宋体][size=12pt]对录制验证点和使用[/size][/font][size=12pt][font=Times New Roman]SQAGetproperty[/font][/size][font=宋体][size=12pt]的看法[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 验证点封装了读取期望结果、实际结果、数据比较和输出[/size][/font][size=12pt][font=Times New Roman]Log[/font][/size][font=宋体][size=12pt]的功能,[/size][/font][size=12pt][font=Times New Roman]SQAGetproperty[/font][/size][font=宋体][size=12pt]只是读取对象的某个属性值。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]15.[/color][/font][/size][color=#000000][font=宋体][size=12pt]如何把业务从脚本中剥离出来[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 业务体现在操作步骤上,目前通过数据驱动技术,数据和操作流程分离。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]16.[/color][/font][/size][color=#000000][font=宋体][size=12pt]脚本跑飞后[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]手工恢复测试环境太麻烦[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000]17.[/color][/font][/size][color=#000000][font=宋体][size=12pt]能否捕获跑飞这一异常 [/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 跑飞??[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]18.[/color][/font][/size][color=#000000][font=宋体][size=12pt]您觉得像[/size][/font][size=12pt][font=Times New Roman]login[/font][/size][font=宋体][size=12pt]这样的测试可以使用那一方面的自动化测试工具比较方便[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 目前的测试工具都支持,也都听方便。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[font=Times New Roman][size=12pt][color=#000000]19.[/color][/size][size=12pt][color=#000000]QTP[/color][/size][/font][color=#000000][font=宋体][size=12pt]问题[/size][/font][size=12pt][font=Times New Roman]:(1)[/font][/size][font=宋体][size=12pt]参数传递[/size][/font][size=12pt][font=Times New Roman];(2)[/font][/size][font=宋体][size=12pt]如何扩展报表管理[/size][/font][size=12pt][font=Times New Roman];(3)[/font][/size][font=宋体][size=12pt]调用[/size][/font][size=12pt][font=Times New Roman]runtime object[/font][/size][font=宋体][size=12pt]方法会出错[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]如[/size][/font][size=12pt][font=Times New Roman]click(),[/font][/size][font=宋体][size=12pt]如何解决这个问题[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt][font=Times New Roman] (1)[/font][/size][/font][font=宋体][size=12pt]可以通过[/size][/font][size=12pt][font=Times New Roman]Test[/font][/size][font=宋体][size=12pt]、[/size][/font][size=12pt][font=Times New Roman]Action[/font][/size][font=宋体][size=12pt]的[/size][/font][size=12pt][font=Times New Roman]Input[/font][/size][font=宋体][size=12pt]和[/size][/font][size=12pt][font=Times New Roman]Output[/font][/size][font=宋体][size=12pt]传递参数;[/size][/font][size=12pt][/size][/color]
[font=宋体][size=12pt][font=Times New Roman][color=#000000] (2)[/color][/font][/size][/font][color=#000000][font=宋体][size=12pt]自己写代码调用[/size][/font][size=12pt][font=Times New Roman]Excel[/font][/size][font=宋体][size=12pt]或者[/size][/font][size=12pt][font=Times New Roman]Word[/font][/size][font=宋体][size=12pt]对象进行定制;[/size][/font][size=12pt][/size][/color]
[font=宋体][size=12pt][font=Times New Roman][color=#000000] (3)[/color][/font][/size][/font][color=#000000][font=宋体][size=12pt]错误信息是什么?[/size][/font][/color]
[size=12pt][font=Times New Roman][color=#000000]20.[/color][/font][/size][color=#000000][font=宋体][size=12pt]对于淘宝网[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]银行网站[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]在测试时[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]哪些地方适合用自动化进行测试[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 从技术角度,都可以自动化。从业务角度,看你的要求。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]21.[/color][/font][/size][color=#000000][font=宋体][size=12pt]怎么使用[/size][/font][size=12pt][font=Times New Roman]QTP[/font][/size][font=宋体][size=12pt]获取后台数据库的表字段中的数值[/size][/font][size=12pt][/size][/color]
[color=#000000][font=Times New Roman][size=12pt] ADO[/size][size=12pt][/size][/font][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]22.[/color][/font][/size][color=#000000][font=宋体][size=12pt]错误处理[/size][/font][size=12pt][/size][/color]
[color=#000000][size=12pt][font=Times New Roman] On error[/font][/size][font=宋体][size=12pt]、[/size][/font][size=12pt][font=Times New Roman]Recovery Scenarios[/font][/size][font=宋体][size=12pt]、出错位置确定的在出错位置加入错误处理代码[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[color=#000000][size=12pt][font=Times New Roman]23.[/font][/size][font=宋体][size=12pt]使用[/size][/font][size=12pt][font=Times New Roman]object[/font][/size][font=宋体][size=12pt]时运行不下去[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 错误信息?[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[color=#000000][size=12pt][font=Times New Roman]24.[/font][/size][font=宋体][size=12pt]使用[/size][/font][size=12pt][font=Times New Roman]Robot[/font][/size][font=宋体][size=12pt]时[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]会遇到使用框架的问题[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]维护[/size][/font][size=12pt][font=Times New Roman]MAP[/font][/size][font=宋体][size=12pt]表时[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]要花费较多的时间[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 不知道你的框架怎么设计的,可能是框架设计的问题。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]25.[/color][/font][/size][color=#000000][font=宋体][size=12pt]使用工具时[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]对某些控件的识别问题[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]以及对[/size][/font][size=12pt][font=Times New Roman]up[/font][/size][font=宋体][size=12pt]插入的问题[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]都不能准确的掌握插入地点[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]以及对一些[/size][/font][size=12pt][font=Times New Roman]up[/font][/size][font=宋体][size=12pt]的应用[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]能否自己写[/size][/font][size=12pt][font=Times New Roman]up[/font][/size][font=宋体][size=12pt]呢[/size][/font][size=12pt][/size][/color]
[color=#000000][size=12pt][font=Times New Roman] Up[/font][/size][font=宋体][size=12pt]??[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[color=#000000][b][font=宋体][size=16pt]自动化测试其他方面问题[/size][/font][/b][b][size=16pt][/size][/b][/color]
[font=Times New Roman][size=12pt][color=#000000]1.[/color][/size][size=12pt][color=#000000]Robot[/color][/size][/font][color=#000000][font=宋体][size=12pt]能不能推出在后台运行的功能[/size][/font][size=12pt][/size][/color]
[color=#000000][size=12pt][font=Times New Roman] Robot[/font][/size][font=宋体][size=12pt]被[/size][/font][size=12pt][font=Times New Roman]IBM[/font][/size][font=宋体][size=12pt]手工后,几乎没有什么变化。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]2.[/color][/font][/size][color=#000000][font=宋体][size=12pt]学习自动化的必要功能有那些[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 首先是对软件测试理解,然后是编程思路。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]3.[/color][/font][/size][color=#000000][font=宋体][size=12pt]成为自动化测试工程师一般要学习多长时间[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 与你的基础和是否有人辅导有关,具体时间和个体有关。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]4.[/color][/font][/size][color=#000000][font=宋体][size=12pt]我是一个测试新手[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]目前做的是手工功能测试[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]我很想学自动化测试[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]但不知道从何入手学习[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]公司在三年内不会考虑这方面的[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]所以的自学[/size][/font][size=12pt][font=Times New Roman].[/font][/size][font=宋体][size=12pt]希望给点指引[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 多上论坛,论坛上很多人问问题,这些问题基本都是实际在做自动化测试过程中遇到的问题,通过解决这些问题可以很快提高技能,当然开始是你主要是观众。慢慢的变为参与者。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]5.[/color][/font][/size][color=#000000][font=宋体][size=12pt]对于测试框架可否这样理解[/size][/font][size=12pt][font=Times New Roman]:[/font][/size][font=宋体][size=12pt]包含会用脚本[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]调用不同脚本并进行测试[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]对于错误能进行智能处理[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]并生成日志和数据[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]可以重用[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 不全是。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]6.[/color][/font][/size][color=#000000][font=宋体][size=12pt]如何实现脚本重用[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]较少脚本维护量[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 封装,和开发的思路一样。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]7.[/color][/font][/size][color=#000000][font=宋体][size=12pt]针对[/size][/font][size=12pt][font=Times New Roman]QTP[/font][/size][font=宋体][size=12pt]如何建立高效测试套件[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]测试框架[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 先做起来再改进。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]8.[/color][/font][/size][color=#000000][font=宋体][size=12pt]有对[/size][/font][size=12pt][font=Times New Roman]TC(test complete)[/font][/size][font=宋体][size=12pt]了解吗[/size][/font][size=12pt][font=Times New Roman]?[/font][/size][font=宋体][size=12pt]其中如何做图像对比[/size][/font][/color]
[size=12pt][font=Times New Roman][color=#000000]9.[/color][/font][/size][color=#000000][font=宋体][size=12pt]在[/size][/font][size=12pt][font=Times New Roman]linux[/font][/size][font=宋体][size=12pt]下的自动化测试[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 工具很少[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]10.[/color][/font][/size][color=#000000][font=宋体][size=12pt]建立自动化测试组时[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]最优的人员配置和何种状态[/size][/font][size=12pt][font=Times New Roman]?[/font][/size][font=宋体][size=12pt]哪些角色必须有[/size][/font][size=12pt][font=Times New Roman]?[/font][/size][font=宋体][size=12pt]人员的人数[/size][/font][size=12pt][font=Times New Roman]?[/font][/size][/color]
[color=#000000][font=宋体][size=12pt] 对软件测试有较深的理解,灵活的解决问题思路,一定的编程能力。这样的人前期一个就够了。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]11.[/color][/font][/size][color=#000000][font=宋体][size=12pt]软件需求变化频繁适合使用自动化测试工具吗[/size][/font][size=12pt][font=Times New Roman]?[/font][/size][/color]
[color=#000000][font=宋体][size=12pt] 用自动化测试的没有需求不变的,需要变化快的也不在少数,因为需求经常变,所以需要大量的回归测试,自动化测试的用武之地。[/size][/font][/color]
[color=#000000][font=宋体][size=3][/size][/font][/color]
[color=#000000][font=宋体][size=3][/size][/font][font=Times New Roman][size=12pt]12.[font=宋体][size=12pt]讲这么多专业的很细的一些测试实在是浪费时间[/size][/font][size=3][size=12pt],[/size][/size][font=宋体][size=3][font=宋体][size=12pt]这些直接上论坛就行[/size][/font][/size][/font][size=3][size=12pt],[/size][/size][font=宋体][size=3][font=宋体][size=12pt]用的着在这举办讲座吗[/size][/font][/size][/font][size=3][size=12pt]?[/size][/size][font=宋体][size=3][font=宋体][size=12pt]今天的讲座完全是流于形式[/size][/font][/size][/font][size=3][size=12pt],[/size][/size][font=宋体][size=3][font=宋体][size=12pt]非常失败[/size][/font][/size][/font][size=3][size=12pt],[/size][/size][font=宋体][size=3][font=宋体][size=12pt]浪费大家宝贵时间[/size][/font][/size][/font][/size][/font][/color]
[color=#000000][font=Times New Roman][size=12pt][font=宋体][size=3][font=宋体][size=12pt] [font=宋体][size=12pt]沙龙针对群体,不是个体,很难做到覆盖每个人的需要。沙龙的收获包括听演讲者讲的内容、认识测试同行、感受测试氛围等等。当然,您所提的意见也正是沙龙活动举办的难点所在,我们也会更加努力,争取能让更多的朋友从沙龙活动中得到更大的收获。[/size][/font][/size][/font][/size][/font][/size][/font][/color]
[size=12pt][font=Times New Roman][color=#000000]13.[/color][/font][/size][color=#000000][font=宋体][size=12pt]嵌入式软件能够使用自动化测试工具吗[/size][/font][size=12pt][font=Times New Roman]?[/font][/size][/color]
[color=#000000][font=宋体][size=12pt] 可以。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[color=#000000][font=Times New Roman][size=12pt]14.[/size][size=12pt]TD[/size][/font][font=宋体][size=12pt]与[/size][/font][size=12pt][font=Times New Roman]QTP[/font][/size][font=宋体][size=12pt]如何集成起来使用[/size][/font][size=12pt][/size][/color]
[color=#000000][size=12pt][font=Times New Roman] QTP[/font][/size][font=宋体][size=12pt]有连接[/size][/font][size=12pt][font=Times New Roman]TD[/font][/size][font=宋体][size=12pt]的菜单。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[size=12pt][font=Times New Roman][color=#000000]15.[/color][/font][/size][color=#000000][font=宋体][size=12pt]嵌入式系统如何实现自动化测试[/size][/font][size=12pt][/size][/color]
[color=#000000][font=宋体][size=12pt] 原理一样。可以自己开发,可选择的工具不是很多。[/size][/font][size=12pt][/size][/color]
[size=12pt][font=Times New Roman][color=#000000][/color][/font][/size]
[font=Times New Roman][size=12pt][color=#000000]16.[/color][/size][size=12pt][color=#000000]LoadRunner:[/color][/size][/font][color=#000000][font=宋体][size=12pt]参数化[/size][/font][size=12pt][font=Times New Roman]([/font][/size][font=宋体][size=12pt]登录[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]用户名[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]密码[/size][/font][size=12pt][font=Times New Roman])way1:[/font][/size][font=宋体][size=12pt]在参数属性设置中[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]只设一个参数集为[/size][/font][size=12pt][font=Times New Roman]2[/font][/size][font=宋体][size=12pt]列[/size][/font][size=12pt][font=Times New Roman](name,code)[/font][/size][font=宋体][size=12pt]参数集名[/size][/font][size=12pt][font=Times New Roman]A.txt [/font][/size][font=宋体][size=12pt]执行顺序为[/size][/font][size=12pt][font=Times New Roman]same as ** ,[/font][/size][font=宋体][size=12pt]但是这行时报错[/size][/font][size=12pt][font=Times New Roman]"can't find A.tex";way2:2[/font][/size][font=宋体][size=12pt]个参数集[/size][/font][size=12pt][font=Times New Roman]:[/font][/size][font=宋体][size=12pt]一个[/size][/font][size=12pt][font=Times New Roman]2[/font][/size][font=宋体][size=12pt]列[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]一个[/size][/font][size=12pt][font=Times New Roman]1[/font][/size][font=宋体][size=12pt]列[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]执行顺序为[/size][/font][size=12pt][font=Times New Roman]:same as **,[/font][/size][font=宋体][size=12pt]但是执行时报错[/size][/font][size=12pt][font=Times New Roman]"can't find ** ",[/font][/size][font=宋体][size=12pt]而此操作按照说明来做的[/size][/font][size=12pt][font=Times New Roman]\[/font][/size][/color]
[color=#000000][font=宋体][size=12pt] 请将脚本发到论坛上。[/size][/font][/color]
[color=#000000]
[/color][color=#000000][size=12pt][font=Times New Roman]17.LoadRunner:session Id [/font][/size][font=宋体][size=12pt]问题[/size][/font][size=12pt][font=Times New Roman]([/font][/size][font=宋体][size=12pt]登录[/size][/font][size=12pt][font=Times New Roman]),[/font][/size][font=宋体][size=12pt]动态[/size][/font][size=12pt][font=Times New Roman]session[/font][/size][font=宋体][size=12pt]关联不成功[/size][/font][size=12pt][font=Times New Roman],[/font][/size][font=宋体][size=12pt]在[/size][/font][size=12pt][font=Times New Roman]testing[/font][/size][font=宋体][size=12pt]上挂了很久还不能解决[/size][/font][size=12pt][/size][/color]
[color=#000000][size=12pt][font=Times New Roman] 请[/font][/size][font=宋体][size=12pt]给出连接。[/size][/font][/color][size=12pt][/size]
[[i] 本帖最后由 jason_zhang82 于 2008-1-28 10:35 编辑 [/i]]
特别关注 2008-1-29 19:14
感谢
感谢51testing,感谢IBM;感谢王老师和聂老师!
海上清风 2008-2-25 22:16
说得好,不过软件测试沙龙在上海也应该有吧, 在哪里,都是什么时间有啊?本人是新手,有那位告诉一下啊?:handshake