思考skiltest 测试(一)
上一篇 /
下一篇 2008-07-29 14:38:29
/ 个人分类:测试工作进行中
一、自动化测试
测试最常用的方法是采用:分层次的测试方法(The Layered Approach)
Operability Tests(可操作性测试:each object的:state、size、caption、contents)
Functionality Tests (功能测试:several objects组合在一起提供的特性)
System Tests (系统测试:被测软件在其他软、硬件环境下的表现)
其他类型的测试
Regression Tests (回归测试:existing tests for new version of program)
Error Tests (错误处理测试: system response for error condition)
Stress Tests (压力测试:measure system response under repetiveor large amounts of data)
White-Box Tests (白盒测试:internal structure of software)
Black-Box Tests (黑盒测试:view software from end-user perspective and is unwareof the underlying code)
SilkTest如何工作
在SilkTest看来,应用由许多GUI对象组成,用户通过键盘/鼠标与这些对象交互
使用SilkTest时,SilkTest通过面向对象的概念(类/属性/方法),识别这些GUI对象
测试时,SilkTest模拟用户的操作,与这些GUI对象交互,并记录测试结果
SilkTest组成
SilkTestHost (Host Machine)
用于develop/edit/compile/run/debug 测试脚本和测试计划
SilkTestAgent (Remote Machine)
interact with GUI of AUT (Application Under Test 被测应用)
translate scrīpt into GUI commands
driving and monitoring application
run locally or remote
SilkTest如何记录用户行为
SilkTestrepository
用于记录应用中各种GUI对象的描述
SilkTest自动识别GUI对象,自动记录用户操作过程中对各个GUI对象的操作,将这些操作转换成相应的方法,写入脚本程序中。
收藏
举报
TAG:
测试工作进行中