日历
| |||||||||
| 日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
| 1 | 2 | 3 | 4 | ||||||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 | |||
| 12 | 13 | 14 | 15 | 16 | 17 | 18 | |||
| 19 | 20 | 21 | 22 | 23 | 24 | 25 | |||
| 26 | 27 | 28 | 29 | 30 | 31 | ||||
搜索标题
最新来客
我的好友
最新评论
统计信息
- 访问量: 896
- 日志数: 8
- 建立时间: 2007-12-24
- 更新时间: 2008-06-27
我的最新日志
-
QTP的Action间的信息共享的4种方法(转)
2008-6-27
通过Action参数来传递数据Action2的脚本如下:' Input ParametersMessage = Parameter("Msg")Msgbox Message' Output ParametersIf NOT Message = "" ThenParameter("ReturnMsg") = "The Message is " & MessageElseParameter("ReturnMsg") = "The Message is Empty!"End If' RetuenValueExitAction "HAHAHAHHAHA!!!!!"'ExitAction Parameter("ReturnMsg")3种调用Action的方法,Action1的脚本如下:' 调用Action2,输入参数为 “ Hello!”,把输出参数值写到ReturnMessage1变量RunAction "Action2", oneIteration,"Hello!" ,ReturnMessage1Msgbox ReturnMessage1' 调用Action2,输入参数为 “ Hello!”,通过Parameter方法读取输出参数值RunAction "Action2", oneIteration,"Hello!"ReturnMessage2= Parameter("Action2","ReturnMsg")Msgbox ReturnMessage2' 如果被调用的Action使用了ExitAction来退出Action并返回ReturnValue,则可以使用下面的方式来获取Return Value的值' 注意OutPut Parameters与Return Value的区别ReturnMessage3 = RunAction( "Action2", oneIteration ,"Hello!")Msgbox ReturnMessage3通过全局数据表(Global Data Table)来共享数据在Action1中设置参数值,Action1的脚本如下:' 获取全局数据表Set Sheet = DataTable.GetSheet("Global")' 查找参数列Set Parameter1 = Sheet.GetParameter("Column1")Set Parameter2 = Sheet.GetParameter("Column2")' 设置参数值Parameter1.Value="Hello"Parameter2.Value="World!"' 调用Action2,Action2将使用前面设置的参数值RunAction "Action2", oneIteration在Action2中读取参数值,Action2的脚本如下:' 获取全局数据表Set Sheet = DataTable.GetSheet("Global")' 读取参数值Set Parameter1 = Sheet.GetParameter("Column1")Set Parameter2 = Sheet.GetParameter("Column2")' 使用参数值Msgbox Parameter1 &" " & Parameter2使用环境变量(Environment Variables)来共享数据在Action1中使用环境变量中定义的LoginUserName和LoginPassWord,Action1的脚本如下:' 在Action1中使用环境变量中定义的LoginUserName和LoginPassWordUserName = Environment.Value("LoginUserName")UserPassWord = Environment.Value("LoginPassWord")SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe"Dialog("Login").ActivateDialog("Login").WinEdit("Agent Name:").Set UserNameDialog("Login").WinEdit("Password:").SetSecure UserPassWordDialog("Login").WinButton("OK").Click' 调用Action2,在Action2中也将使用到定义的环境变量RunAction "Action2", oneIteration在Action2中使用环境变量中定义的LoginUserName,Action2的脚本如下:' 在Action2中使用环境变量中定义的LoginUserNameUserName = Environment.Value("LoginUserName")Window("Flight Reservation").ActivateWindow("Flight Reservation").WinObject("Date of Flight:").Click 1,6Window("Flight Reservation").WinObject("Date of Flight:").Type "121212"Window("Flight Reservation").WinComboBox("Fly From:").Select "Denver"Window("Flight Reservation").WinComboBox("Fly To:").Select "Frankfurt"Window("Flight Reservation").WinButton("FLIGHT").ClickWindow("Flight Reservation").Dialog("Flights Table").WinList("From").Select "14243 DEN 12:57 PM FRA 01:41 PM SR $110.00"Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").ClickWindow("Flight Reservation").WinEdit("Name:").Set UserName通过Dictionary对象来在Action之间共享数据(1)添加注册表HKEY_CURRENT_USER\Software\Mercury Interactive\QuickTest Professional\MicTest\ReservedObjects\GlobalDictionaryProgID = "scrīpting.Dictionary"(2)使用GlobalDictionary对象' 使用GlobalDictionary前清空里面的数据If GlobalDictionary.Count > 0 ThenGlobalDictionary.RemoveAllEnd If' 存储一个数值DepartDate = "2008-3-31"GlobalDictionary.Add "DateCheck", DepartDate' 可在当前Action使用GlobalDictionary中的数据,也可在另外一个Action中使用添加到GlobalDictionary的数据'Dim CompareDate'CompareDate=GlobalDictionary("DateCheck")'Msgbox CompareDate' 可在当前Action使用GlobalDictionary中的数据,也可在另外一个Action中使用添加到GlobalDictionary的数据Dim CompareDate' 读取GlobalDictionary中的DateCheck数据CompareDate=GlobalDictionary("DateCheck")Msgbox CompareDate -
文件各操作的描述性编程(转)
2008-6-13
Dim fso, f, f1, fc, s
Set fso = CreateObject("scrīpting.FileSystemObject")
Set f = fso.GetFolder("C:\MyTest") '目的是删除该文件夹下所有的文件夹
Set fc = f.SubFolders
For Each f1 in fc '逐一获取子文件夹名称并将子文件夹及下属文件删除
s = f1.name
Dim ff
Set ff = CreateObject("scrīpting.FileSystemObject")
ff.DeleteFolder("C:\MyTest\"&f1.name)
msgbox (s&"已成功删除")
Next
'上述代码运行通过,不过要注意要先建好文件夹创建文件
dim fso, f
set fso = server.CreateObject("scrīpting.FileSystemObject")
set f = fso.CreateTextFile("C:\test.txt", true) '第二个参数表示目标文件存在时是否覆盖
f.Write("写入内容")
f.WriteLine("写入内容并换行")
f.WriteBlankLines(3) '写入三个空白行(相当于在文本编辑器中按三次回车)
f.Close()
set f = nothing
set fso = nothing
打开并读文件
dim fso, f
set fso = server.CreateObject("scrīpting.FileSystemObject")
set f = fso.OpenTextFile("C:\test.txt", 1, false) '第二个参数 1 表示只读打开,第三个参数表示目标文件不存在时是否创建
f.Skip(3) '将当前位置向后移三个字符
f.SkipLine() '将当前位置移动到下一行的第一个字符,注意:无参数
response.Write f.Read(3) '从当前位置向后读取三个字符,并将当前位置向后移三个字符
response.Write f.ReadLine() '从当前位置向后读取直到遇到换行符(不读取换行符),并将当前位置移动到下一行的第一个字符,注意:无参数
response.Write f.ReadAll() '从当前位置向后读取,直到文件结束,并将当前位置移动到文件的最后
if f.atEndOfLine then
response.Write("一行的结尾!")
end if
if f.atEndOfStream then
response.Write("文件的结尾!")
end if
f.Close()
set f = nothing
set fso = nothing
打开并写文件
dim fso, f
set fso = server.CreateObject("scrīpting.FileSystemObject")
set f = fso.OpenTextFile("C:\test.txt", 2, false) '第二个参数 2 表示重写,如果是 8 表示追加
f.Write("写入内容")
f.WriteLine("写入内容并换行")
f.WriteBlankLines(3) '写入三个空白行(相当于在文本编辑器中按三次回车)
f.Close()
set f = nothing
set fso = nothing
判断文件是否存在
dim fso
set fso = server.CreateObject("scrīpting.FileSystemObject")
if fso.FileExists("C:\test.txt") then
response.Write("目标文件存在")
else
response.Write("目标文件不存在")
end if
set fso = nothing
移动文件
dim fso
set fso = server.CreateObject("scrīpting.FileSystemObject")
call fso.MoveFile("C:\test.txt", "D:\test111.txt") '两个参数的文件名部分可以不同
set fso = nothing
复制文件
dim fso
set fso = server.CreateObject("scrīpting.FileSystemObject")
call fso.CopyFile("C:\test.txt", "D:\test111.txt") '两个参数的文件名部分可以不同
set fso = nothing
删除文件
dim fso
set fso = server.CreateObject("scrīpting.FileSystemObject")
fso.DeleteFile("C:\test.txt")
set fso = nothing
创建文件夹
dim fso
set fso = server.CreateObject("scrīpting.FileSystemObject")
fso.CreateFolder("C:\test") '目标文件夹的父文件夹必须存在
set fso = nothing
判断文件夹是否存在
dim fso
set fso = server.CreateObject("scrīpting.FileSystemObject")
if fso.FolderExists("C:\Windows") then
response.Write("目标文件夹存在")
else
response.Write("目标文件夹不存在")
end if
set fso = nothing
删除文件夹
dim fso
set fso = server.CreateObject("scrīpting.FileSystemObject")
fso.DeleteFolder("C:\test") '文件夹不必为空
set fso = nothing'path为要删除目录路径
sub delfolder(path)
Dim WshShell, oExec
Set WshShell = CreateObject("Wscrīpt.Shell")
Set ōExec = WshShell.Exec("cmd /c del /s /q "+path)
set ōexec = wshshell.exec("cmd /c rd /s /q "+path)
end sub -
VBScript project with multi-files(转)
2008-5-07
任何真正实用的工程开发都必然是多文件的。但是VBscrīpt创建多文件工程要麻烦一点,它对多文件工程,代码复用的支持并不是太好。在C/C++工程里,我们已经习惯了通过一个include语句,并且声明一个函数原形的方式来使用其它模块中的函数,这样一个复杂的工程可以比较容易地分解成一些小的模块,以更容易理解和掌握。VBscrīpt中情况有些不同。这与它的设计目标有关。最初VBscrīpt是用在客户端脚本,以支持与客户端作简单的交互,如简单的输入检查等等。在浏览器里显然没有办法支持对另一个文件中的函数的调用,你不知道那个文件是否存在,何时存在。那么以本地脚本形式执行的VBscrīpt又怎么样呢?想想看这条命令:cscrīpt.exe yourscrīpt.vbs。显然一个VBS运行在一个进程空间里(cscrīpt进程),它也没有办法得到另一个文件中的函数。
认识到了VBscrīpt的局限性,我们来看如何解决它。
第一种需要可能是需要在一个脚本运行的中间直接运行另外一个脚本。这可以通过下面的方法来完成:
Set WSHShell = CreateObject("Wscrīpt.Shell")
WSHShell.Run "wscrīpt c:\Test.vbs param1", , True注意到这里我们Test.vbs运行在另外一个进程空间(wscrīpt进程)里,加上执行当前脚本的WSH,我们一共有两个进程。这是通过WSHShell.Run来做到的,这个方法的原型是:
object.Run(strCommand, [intWindowStyle], [bWaitOnReturn])
如果时序很重要,你可以在bWaitOnReturn这个参数中指定主脚本是否要等待被执行的脚本运行结束后才能继续。
另一点需要注意的地方是strCommand参数,这个参数是一个复合体,以空格区分各个域。如果需要将运行参数传递给被调用的脚本,应该在第二个空格后面输入。下面的例子显示了如何获取主脚本传递来的参数。对了,是通过Wscrīpt.Arguments来访问。Wscrīpt还有其他一些有趣的属性,请记得读一下文档。
Set ōArgs = Wscrīpt.Arguments
For i = 0 to oArgs.Count - 1
Wscrīpt.Echo oArgs(i)
Next关于参数解析,这里给出一个Windows 2000 support tools中的一个脚本的例子。你可以复用这个函数,以解析任何以/ArgName:Value形式指定的参数。
' searches for and returns the value of a command line argument of the form
' /argName:value from the supplied array. erases the entry in the array so
' that only untouched entries remain.function GetArgValue(argName, args())
dim a
dim v
dim argNameLength
dim x
dim argCount
dim fullArgNamefullArgName = "/" & argName & ":"
argCount = Ubound(args)' Get the length of the argname we are looking for
argNameLength = Len(fullArgName)
GetArgValue = "" ' default to nothing
for x = 0 To argCount
if Len(args(x)) >= argNameLength thena = Mid(args(x), 1, argNameLength)
if UCase(a) = UCase(fullArgName) then' erase it so we can look for unknown args later
v = args(x)
args(x) = ""if Len(v) > argNameLength then
GetArgValue = Mid(v, argNameLength + 1)
exit function
else
GetArgValue = ""
exit function
end if
end if
end if
next
end function更多的时候,我们需要在脚本之间共享变量,以及相互调用函数。我们想要得到C/C++中那样的便利性:通过一个Include声明,就可以将另外一个模块中的函数和变量引入到当前的模块中。在VBscrīpt中,可以通过ExecuteGlobal来实现:
Sub Include(sInstFile)
Dim oFSO, f, s
Set ōFSO = CreateObject("scrīpting.FileSystemObject")
Set f = oFSO.OpenTextFile(sInstFile)
s = f.ReadAll
f.Close
ExecuteGlobal s
End Sub这样,在脚本中加上这样一句调用:Include "mylib.vbs",就可以使用mylib.vbs中声明的全局变量和函数了!注意这里的函数ExecuteGlobal有一个类似的函数Execute,这里如果使用Execute的话,就达不到我们想要的效果。因为通过Execute暴露的名字,其作用范围局限于Execute所处的级别,在这里,也就是在函数Include内部。这几乎肯定不是你想要的结果。
还有别的方法吗?是的。VBscrīpt内在的支持COM方式。如果可以将你的脚本编译成一个COM组件,就当然可以在别的脚本中调用组件中的方法了。恰好,MS提供了工具scrīpt Component Wizard来帮助我们将一些VBscrīpt文件打包成一个组件,并提供注册方法。
现在我们来学一些新的方法。我的意思是,这些方法是仅为WSH支持的,你可能以前并没有遇见过。WSH支持一种叫*.wsf的文件,这个文件本身是XML格式的,通过该文件可以将你的VBscrīpt脚本,以及其它类型的脚本,比如batch,perl等等组装在一起,交给WSH来执行。这方面文档还算详细,这里就不多介绍了。
这一节里,介绍了由单个脚本文件组装成一个较大的工程的四种方法,通过运用这些方法,你可以建立自己的常用函数库,在各个脚本之间共享变量和传递数据,等等。
原帖:http://hi.baidu.com/myvbscrīpt/blog/item/3a100e17476e83014b90a7be.html
-
QTP识别和操作对象的原理(转)
2008-5-06
QTP为用户提供了两种操作对象的接口,一种就是对象的封装接口,另一种是对象的自身接口。
对象的自身接口是对象控件本身的接口,只要做过软件开发,使用过控件的人应该很清楚。
对象的封装接口是QTP为对象封装的另一层接口,它是QTP通过调用对象的自身接口来实现的。
两种接口的脚本书写格式的差别在于:
自身接口需要在对象名后面加object再加属性名或方法名,
封装接口就不用在对象名后面加object。
比如操作JavaEdit对象,通过QTP封装的封装接口,脚本如下:
设置JavaEdit的内容:
JavaDialog("Add NE").JavaEdit("NE Name").Set "NE1"
读取JavaEdit的内容:
msgbox JavaDialog("Add NE").JavaEdit("NE Name").GetROProperty("value")
如果通过JavaEdit的自身接口,脚本如下:
设置JavaEdit的内容:
JavaDialog("Add NE").JavaEdit("NE Name").object.setText("NE1")
读取JavaEdit的内容:
Msgbox JavaDialog("Add NE").JavaEdit("NE Name").object.getText()
QTP执行JavaEdit().Set语句时,是通过执行JavaEdit().object.setText()来实现的。
QTP执行JavaEdit().GetROProperty("value"),是通过执行JavaEdit().object.getText()来实现的。
JavaEdit对象的封装接口Set()和GetROProperty("value"),是QTP封装JavaEdit对象的自身接口setText()和getText()而得来的。
对象的封装接口是QTP使用的缺省接口,我们录制出来的脚本都是使用封装接口,大家用的也都是封装接口。
但是封装接口不如自身接口丰富,因为QTP只是封装了部分常用的自身接口嘛。
所以我们在需要时,可以绕过封装接口,直接调用对象的自身接口。
不过有些自身接口不够稳定,在实践中偶尔会出现问题,但是概率很少。
封装接口有相应功能的话,就尽量用封装接口吧!
理解了封装接口和自身接口的原理,我们就可以更加灵活的操作对象了。
但是我们怎么知道对象都有哪些封装接口和自身接口呢?
其实很简单,用对象查看器(Object Spy)查看对象,在查看窗口里有列出这些接口,包括属性和方法。
窗口中间有选择栏让你选择Run-time Object或者Test Object,
当你选择Run-time Object时,它显示的就是对象的自身接口(自身的属性和方法)
当你选择Test Object时,它显示的就是对象的封装接口(封装的属性和方法)
明白了这些,你还等什么呢?快拿起对象查看器,看看对象都有哪些封装接口和自身接口,肆意的操作它,玩弄它吧!
比如执行
JavaDialog("Add NE").JavaEdit("NE Name").object.setVisible(false)
哈哈,你的JavaEdit对象就当场消失不见了!!!此文来源于51testing论坛,转载请注明出处
原始链接:http://bbs.51testing.com/thread-13554-1-1.html -
从微软的今天看软件测试的明天(转)
2008-4-10
陈天的办公室并不小,但却因堆 满了机器而显得狭仄不堪。他解释说,因为微软亚洲工程院(ATC)部门准备扩充,而“新的几个实验室还在装修中”,所以就形成了现在的这个局面——几十台Dell主机和一箱箱显示器堆放在眼前的办公空间里。当听说微软亚洲工程院的测试工程师人均拥有四五台计算机、且正在搭建的测试实验室将拥有上千台机器时,我跟陈天开玩笑说,看来你是微软亚洲工程院最大固定资产的拥有者,陈天微笑着对这一判断表示认同。
人机比例”如此悬殊,并不是说微软亚洲工程院的测试工程师都是多臂超人——事实上,这是由微软独特的测试文化所决定的。陈天表示,“微软的软件测试80%-90%都是自动化的。所谓自动化,就是由测试工程师写出测试程序来运行测试案例,而并非人们所想象的人工点、点、点的那种测试方式。”
在拜访微软亚洲工程院之前,提到微软的测试,我会想到比尔盖茨说的一句话:“很多人都认为微软是一家软件开发公司,而事实上,我们是一家软件测试公司”。这种说法也让我们对微软亚洲工程院的测试团队充满了好奇。微软亚洲工程院创立之初,仅有两位从微软亚洲研究院转过来的测试人员,而且这两个人还不属于任何一个组,只是在项目组有测试需求的时候临时帮一下忙。对于一支完整的产品开发体系,软件测试团队是极其重要的组成部分。因此,院长张宏江对此高度重视——于是,从微软总部找来了在微软从事测试五年的陈天和周庆晖担当起了搭建微软亚洲工程院软件测试团队的重任。
招募到合适的测试人员是工作的第一步,由于国内对软件测试工作的重视不够,有经验的人员因而少得可怜,培养刚毕业的学生便成为了优先的选择,不过,“我们的学生由于勤奋好学成长得很快”。到现在,微软亚洲工程院已拥有一百多名测试工程师,其中有一些人已经成长为技术骨干和Leader。
在微软的测试体系中,主要的测试人员分为两种,一种是SDET(Software Design Engineer Tester),一种是STE(Software Test Engineer)。对SDET编程能力的要求和对开发人员的要求基本上是一样的。他们都须有扎实的计算机基础知识和编程能力。区别可能在于开发人员对算法更加精通,或某一方面的技术钻研的更深入一些。而微软亚洲工程院要求SDET的技术面很宽,要能使用很多种技术,比如可以用C、C#、脚本等来写程序。陈天说:“我喜欢在面试的时候看他们直接在电脑上编程。如果一个人经常写程序,他调试程序的表现会与编程不熟练的人有很大的不同。”
因为SDET懂开发,有扎实的编程能力,所以他能够做一些其他普通测试人员做不了的工作,比如可以将源代码打开做代码的静态分析,还可以做测试用例的代码覆盖率调查。所谓的代码覆盖率调查,是指考察测试用例能否将所有的源代码都调用到,是一种对测试质量的初步评估标准。
更高深的一些测试方法还包括错误注射(Fault Injection),也就是将错误注射到源程序中。因为很多错误很不容易在某种机器环境中出现,比如一个用户的机器内存特别少的时候,微软要求程序仍然不能丢失数据和发生安全漏洞,但测试人员不能把测试机器的内存拆下来,也不能非常精确的把内存消耗到期望的数值,这时他们会通过注射一段代码来模拟内存的分配。要做到这点,需要掌握编程及熟悉操作系统的内存分配算法。由于SDET的存在,微软可以更加有效地对软件进行测试。软件测试专业网站:51Testing软件测试网
软件测试专业网站:51Testing软件测试网#Y+v7W Ki O6L6{1X5L_
当然,STE的角色也很重要。这些人必须非常聪明,解决问题的能力特别强;有钻研精神,绝不放弃;很细心,而且很有创造力。陈天说:“好的STE不是只按照规定好的测试用例来执行,而是可以想到很多一般用户想不到的地方,他可以用非常规的思路来寻找软件的bug。而且他会懂很多各种各样的软件。事实上,很多bug不是在程序本身找到的,而是在其与其它程序交互时找到的。”不过,就测试工作而言,微软未来的趋向是,纯粹的STE将越来越少,而且微软会要求STE“也要学会用程序工具去进行测试”。
普通的测试工程师若想臻至“优秀”,需要经历很长的阶段。除了要学习很多测试方面的技巧外,还需对测试全局有着全面的了解和充分的掌控——这同样是实现个人成长的重要前提。“测试人员一开始学到的信息都是分块的,比如开始会写测试用例,后来知道了要做代码覆盖率,而后可以学到更深的知识,但最终是要把这些知识都融会贯通起来,大家都需要经历这样一个过程,这是很难避免的。”陈天说,“因此,我要求大家不要只看自己做的部分,而要看其他人做的事情,要看产品开发到哪个阶段,就像玩拼图一样, 只有对整个软件开发流程了解,这个时候你才知道每块拼图应该在哪里。” 为了让测试工程师更快速地成长,微软亚洲工程院经常让大家转换角色,轮流负责不同的任务,或者将一个大的部分拆分为几个小块,每个人负责其中一个小块的全部测试内容。 对于微软亚洲工程院的测试工程师新手来说,工作既充满挑战又非常充实。不过,首先要改变的是“心态”。一方面,不能仅仅满足于完成自己的工作。陈天表示,“如果让一个新人进行浏览器的测试,他可以写很多测试用例,比如测试各种按钮是否可用等等;但对于软件来说,是不是只要经过了这些测试,就立刻可以上市销售了?不能仅仅满足于找到BUG, 要真正做到质量保证. 时常问自己,是不是这样的质量软件明天就能上市?很多新来的员工没有这样的意识,也就是对整个产品质量负责的意识。我经常给我们的工程师讲,尽管微软有几万名工程师,但测试某一个功能点的人就你一个,如果漏过了任何一个bug,等到上市之后,受到影响的可能是数以千万计的微软用户。所以我们要求责任感对一个测试工程师甚至比他的测试技能更加重要。”软件测试专业网站:51Testing软件测试网。 当然,对于新人来说,有一套学习的途径可以让他们实现快速地成长——除了陈天等资深测试经理和Test Lead的指导外,微软内部还积累了一整套测试流程、工具和模板。首先,测试工程师要对负责的产品非常了解,要看PM和开发人员的文档,然后根据模板进行工作,而Test Lead也会审查他们的工作。“每个产品的测试都包含了基本的测试,如功能测试、压力测试、代码覆盖率校验、插入测试、与其他产品交互的测试,还有全球化和本地化测试。”在测试用例上,几乎永远是越多越全面越好。在陈天测试Windows XP操作系统某项目时,仅对几个Dll文件的测试就写了两千多个测试用例。陈天说:“微软的测试工具基本上都是自己开发的,虽然商业性比较差,但对产品的针对性很强。除了常用的十种左右的测试工具外,往往需要测试人员针对项目开发很多测试工具。”
谈及未来的发展,陈天对自己的测试团队充满了信心。从院长张宏江到技术总监林斌,微软亚洲工程院阖院上下都对测试工作非常重视。陈天希望将他的团队变成“微软最好的测试组之一”。他说:“虽然目前还不是,但对此我非常有信心,我们的员工技术水平还可以提高,我们的测试流程还可以更适合开发的需求,员工们的测试理念也还应不断增强, 最后,,我们也正在形成自己的测试文化并用次来推动ATC的进一步高速发展。” -
Automated Testing 相关资料大汇总(转帖)
2008-1-28
转自: http://www.iturls.com/softwareresource/SW_202.asp
Automated Testing
http://fox.wikis.com/wc.dll?Wiki~AutomatedTesting~SoftwareEng
http://foldoc.org/?automated+testing
http://computing-dictionary.thef ... m/Automated+testing
http://openseminar.org/se/modules/102/index/screen.do
http://multistage.ssel.caltech.edu/documentation/tests/auto.html
Test Automation
http://www.hssworld.com/whitepap ... test_automation.pdf
Software Test Automation
http://www.mactech.com/articles/ ... wareTestAutomation/
http://www.sqe.com/testautomation/
http://www.grove.co.uk/Tool_Information/Automation_Book.html
Coming of Age: Test Automation Grows Up
http://itmanagement.earthweb.com/columns/article.php/3464471
Test Automation and Software Development
http://www.tcs.com/0_whitepapers/htdocs/TASD_text.pdf
When Should A Test Be Automated ?
http://www.testing.com/writings/automate.pdf
Automated Testing Basics
http://blogs.msdn.com/chappell/articles/106056.aspx
Automated Testing -- How Useful Is It ?
http://www.gawds.org/show.php?contentid=147
Why Should You Use Automated Testing ?
http://www.automatedqa.com/produ ... anager_overview.asp
Automated Testing – Why and How
http://www.adager.com/VeSoft/AutomatedTesting.html
Benefits of Automated Testing
http://www.electricpaper.ie/prod ... sp?prid=3&upid=
I Believe In Automated Testing, But …
http://www.pti.co.il/we_want_automated_testing_but.html
Too Much Test Automation ?
http://blogs.msdn.com/steverowe/archive/2005/01/28/362668.aspx
The Dangers of Test Automation
http://blogs.msdn.com/steverowe/archive/2006/03/17/553905.aspx
Automated Software Testing: Introduction, Management, and Performance (book 1999)
http://www.amazon.com/gp/product ... glance&n=283155
Software Test Automation (Book 1999)
http://www.amazon.com/gp/product ... glance&n=283155
Just Enough Software Test Automation (Book 2002)
http://www.amazon.com/gp/product ... glance&n=283155
Test Automation
http://www.io.com/~wazmo/qa/#test_automation
http://www.hssworld.com/whitepap ... test_automation.pdf
Success With Test Automation
http://www.io.com/~wazmo/succpap.htm
Three Keys To Test Automation
http://www.stickyminds.com/sitew ... mp;Function=edetail
Seven Steps To Test Automation Success
http://www.io.com/~wazmo/papers/seven_steps.html
Architectures of Test Automation
http://www.kaner.com/testarch.html
Getting A Late Start On Test Automation
http://www.stickyminds.com/sitew ... mp;Function=edetail
Automated Testing Approach
http://www.spikesource.com/technology/testingapproach.html
Getting Started With Automated Testing
http://www.opensourcetutorials.c ... -testing/page1.html
Managing Automated Testing
http://www.stickyminds.com/sitew ... T&ObjectId=6473
Automated Testing Handbook
http://www.softwaretestinginstitute.com/handbook.html
Automated Testing Guidelines
http://openacs.org/forums/message-view?message_id=121426
Best Practices Guide To Automated Testing
http://www.autotester.com/content/pdfs/BPG-pdf.PDF
Tech Guide: Automated Software Testing
http://www.informationweek.com/n ... ?articleID=14700343
The Practical Organization Of Automated Software Testing
http://whitepapers.zdnet.com/abs ... 002&docid=27509
Increasing The Effectiveness of Automated Testing
http://www.agilealliance.org/articles/smithshaunmeszarosger/file
The Automated Testing Lifecycle Methodology (ATLM)
http://www.informit.com/articles/article.asp?p=21468&rl=1
Test Automation Framework (TAF)
http://www.software.org/pub/taf/
Test Automation Frameworks
http://safsdev.sourceforge.net/F ... ationFrameworks.htm
Automated Testing Framework
http://gcc.gnu.org/ml/gcc/2000-11/msg00506.html
Data-Driven Automation Framework
http://safsdev.sourceforge.net/F ... ationFrameworks.htm
Keyword Driven Automation Framework Model
http://safsdev.sourceforge.net/F ... ationFrameworks.htm
Automation Framework Workflow
http://safsdev.sourceforge.net/F ... ationFrameworks.htm
Choosing A Test Automation Framework
http://www-128.ibm.com/developerworks/rational/library/591.html
Implementing A Test Automation Framework (Course)
http://www.sqe.com/public.asp?f=dis&ci=TAF
Software Testing Automation Framework (STAF)
http://staf.sourceforge.net/index.php
http://cosoft.org.cn/html/osl/browse.php?form_cat=216&page=81
http://www.perl.org.il/presentat ... framework%20pii.pdf
http://www.perl.org.il/presentat ... framework%20pii.ppt
Software Testing Automation Framework STAF V3 Documentation
http://staf.sourceforge.net/docs.php
The Software Testing Automation Framework
http://www.research.ibm.com/journal/sj/411/rankin.html
http://findarticles.com/p/articles/mi_m0ISJ/is_1_41/ai_83698441
http://www.oldsidney.idv.tw/?p=38
http://blog.joycode.com/oldsidney/archive/2004/08/10/30270.aspx
http://www.research.ibm.com/journal/sj/411/rankin.pdf
A Maturity Model For Automated Software Testing
http://www.devicelink.com/mddi/archive/94/12/014.html
Automated Testing With Mercury QuickTest
http://www.mercury.com/us/produc ... ktest-professional/
TestComplete – Automate Your Test
http://www.automatedqa.com/products/testcomplete/
Automated Testing With TestComplete
http://www.automatedqa.com/produ ... anager_overview.asp
Are Automated Test Tools For Real ?
http://www.adtmag.com/article.aspx?id=9307&page=
Automated Testing With Perl
http://www.petdance.com/perl/automated-testing/
Automated Testing With Perl Test
http://www.ddj.com/documents/s=10052/q=1/tpj0311b/0311b.html
Automated Testing of Large Projects With Perl
http://www.petdance.com/perl/large-project-testing.pdf
Automatic Testing
http://www.cs.auc.dk/~bnielsen/testudbud/
Should We Be Doing More Automated Testing ?
http://www.javaworld.com/javawor ... w-0307-testing.html
Jameleon An Automated Testing Tool
http://jameleon.sourceforge.net/
Automated Web Testing Toolkit: Expert Methods for Testing and Managing Web Applications (Book 2001)
http://www.amazon.com/exec/obidos/tg/detail/-/0471414352?v=glance
Create Automated Test scrīpts Faster With Greater Coverage
http://www.seapine.com/qawizard.html
How to Use Boost Test for Automated Testing
http://www.hpfsc.de/default.php?url=./boosttest/index.html
Automated Software Testing and KeyLabs Quality Management Framework
http://www.keylabs.com/ebusiness ... -testing-tools.html
Practical Growth: How To Implement Automated Testing With Drupal
http://drupal.org/node/52709
Automated GUI Testing
http://www.tessella.com/Literature/supplements/pdf/autoGUI.pdf
An Introduction to Using TPTP's Automated GUI Recorder
http://www.eclipse.org/tptp/test ... Intro-Auto-GUI.html
Effective Working With Automated Accessibility Testing
http://www.e-consultancy.com/new ... bility-testing.html
Choosing An Automated Testing Tool
http://www.ftponline.com/special/testing/schwarz/Selecting An Automated Testing Tool
http://www.forrester.com/Teleconference/Previous/Overview/1,5158,949,00.html
Get To Know Automated Testing Tools
http://www.infotech.com/ITA/Issu ... esting%20Tools.aspx
Rational Software Development Platform Tester Automated Testing
http://qualityassurance.knowledg ... act/73738/index.jsp
IBM Rational Manual Tester: Automated Support For Non-Automated Testing
http://www-128.ibm.com/developer ... 4/wilkey/index.html
Automated Regression Testing Using IBM Rational Functional Tester
Automated Performance Testing With IBM Rational Performance Tester
http://www.rttsweb.com/news/whitepaper/index.cfm#
Test automation scrīpting: Useful coding techniques for IBM Rational Functional Tester scrīpts
http://www-128.ibm.com/developer ... r-functtest2-i.html
Software Test Automation (Course)
http://www.grove.co.uk/Courses/Automation.html
Software Test Automation: scrīpting Techniques
http://www.grove.co.uk/Courses/Automation.html#anchor116971
Automated Software Testing
http://www.mjtnet.com/automated_testing.htm
Korat: Automated Testing Based On Java Predicates
http://citeseer.ist.psu.edu/boyapati02korat.html
Automated Testing For Enterprise Java
http://itsolutions.sys-con.com/read/44257.htm
Automated Testing Tools For Java
http://forums.java.net/jive/thre ... =13267&tstart=0
Automated Java Code Testing
http://www.javaworld.com/javaforums/showflat.php?Cat=&Board=
TheoryPractice&Number=17904&page=9&view=collapsed&sb=5&o=&fpart=1
Automated Testing For Java, J2EE
http://www.itko.com/site/articles/automated_testing.jsp
Automated Testing: JunitRunner
http://www.jsurfer.org/categories.php?op=newindex&catid=18
JUnit + Jtest = Automated Test Case Design and Static Analysis
http://www.devx.com/Java/Article/15625
Specification-Driven Automated Testing Of GUI-Based Java Programs
http://portal.acm.org/ft_gateway.cfm?id=986570&type=pdf
Automated Solution Enhances Software Testing Capabilities
http://www.tekes.fi/eng/news/uutis_tiedot.asp?id=4883
Maximizing Productivity Through Automated Testing
http://www.expresscomputeronline.com/20030901/technology01.shtml
Automated Testing From Z Specifications
http://citeseer.ist.psu.edu/720803.html
Finding Failure Causes Through Automated Testing
http://www.infosun.fmi.uni-passau.de/st/papers/aadebug2000/
Adaptable and Automated Testing Tools
http://www.mel.nist.gov/msid/sima/06_aatt.htm
How To Implement Data-Driven Automated Testing
http://www.faqs.org/qa/qa-2670.html
Globally Accessible Automated Testing Over The Internet
http://www.research.ucla.edu/tech/ucla97-537.htm
Comparisons Between Manual Teating and Automated Testing
http://lists.w3.org/Archives/Public/www-qa/2002Apr/0003.html
Automated Software Testing With Macro Scheduler
http://www.mjtnet.com/AutomatedTesting.pdf
The Rise Of Automated Testing Tools
http://www.dso.com/indepth/showArticle.jhtml?articleID=174904437
Systems Testing and Integration Testing Using TTCN-3
http://www.telelogic.com/corp/products/tau/tester/index.cfm
Using Performance Test Tools For High Volume Automated Testing
http://www.awprofessional.com/ar ... p?p=379758&rl=1
Automated Testing For Embedded Devices
http://whitepapers.zdnet.co.uk/0,39025945,60038223p-39000493q,00.htm
Automated Testing and QA Center of Excellence
http://www.bitpipe.com/detail/PROD/1109569364_267.html
Automated Functional Testing
http://www.wilsonmar.com/1autotst.htm
Lightweight UI Test Automation With .NET
http://msdn.microsoft.com/msdnmag/issues/05/01/TestRun/
Test Automation for ASP.NET Web Apps with SSL
http://msdn.microsoft.com/msdnmag/issues/04/08/TestRun/
TestQuest Test Automation Solutions
http://www.testquest.com/
Galaxy Test Automation
http://www.synopsys.com/products/solutions/galaxy/test/test.html
Test Automation Articles
http://www.qualitytree.com/autotest/index.htm
How Effective Is Your Test Automation ?
http://www.informit.com/articles/article.asp?p=379757&rl=1
What Is Just Enough Test Automation ?
http://www.phptr.com/articles/article.asp?p=29653&rl=1
Are You Ready For The Test Automation Game ?
http://www.softwaredioxide.com/Channels/conView.asp?id=6592
Model-Based Approach To Security Test Automation
http://www.phptr.com/articles/article.asp?p=29653&rl=1
Aztec Test Automation
http://www.aztecsoft.com/test_automation.htm
Free Open-Source Test Automation Solutions
http://www.pushtotest.com/thecohenblog/simpleblog_view
NET Test Automation Recipes: A Problem-Solution Approach (Book)
http://www.apress.com/book/bookDisplay.html?bID=10119
Test Generation
http://cm.bell-labs.com/cm/cs/what/ubet/Test_Generation.html
Automated Test Generation
http://www.stickyminds.com/sitew ... T&ObjectId=2018
Automated Test Generation Technology
http://www.ipa.go.jp/archive/OFSTP/adl.html
Model-Based Test Generation
http://www.cis.upenn.edu/~rtg/testgen/
Model Based Test Generation Tools
http://www.agedis.de/documents/M ... erationTools_cs.pdf
http://www.stickyminds.com/sitew ... T&ObjectId=6047
Model Analysis and Test Generation
http://www.t-vec.com/
Automated Test Generation From Formal Specifications
http://hissa.nist.gov/~black/FTG/autotest.html
http://www.itl.nist.gov/div897/docs/auto_test_generation.html
Multithreaded Java Program Test Generation
http://www.research.ibm.com/journal/sj/411/edelstein.pdf
Getting Started With Unit Test Generation
http://blogs.msdn.com/vstsqualit ... 5/06/29/434027.aspx
Software Test Generation Using Refinement Types
http://blogs.msdn.com/vstsqualit ... 5/06/29/434027.aspx
Automatic Test Generation For Predicates
http://doi.ieeecomputersociety.org/10.1109/ISSRE.1996.558700
UML and Petri Nets For Test Case Generation
http://smv.unige.ch/tiki-download_file.php?fileId=379
The Combinatorial Design Approach to Automatic Test Generation
http://www.argreenhouse.com/papers/gcp/AETGissre96.shtml
Abstraction-Guided Test Generation: A Case Study
http://research.microsoft.com/pubs/view.aspx?tr_id=695
MUTT – MSIL Unit Test Tools
http://research.microsoft.com/projects/mutt/
Intelligent Specification-Centered Test-Case Generation
http://is.arc.nasa.gov/AR/tasks/TstGen.html
High-Level and Hierarchical Test Sequence Generation
http://www.cad.polito.it/FullDB/exact/hldvt2002a.html
A PVM tool for Automatic Test Generation on Parallel and Distributed Systems
http://www.cad.polito.it/FullDB/exact/hpcn95b.html
Automatic Test Case Generation
http://sdg.csail.mit.edu/projects/testera.html
Hierarchical GUI Test Case Generation Using Automated Planning
http://www.cs.umd.edu/~atif/papers/TSE.pdf
Test Case Generation for Class-Level Object-Oriented Testing
http://www.cs.hku.hk/~tse/Papers/xqwab.html
ALLPAIRS Test Case Generation Tool
http://tejasconsulting.com/open-testware/feature/allpairs.html
JUnit Test Case Generation
http://www.instantiations.com/co ... ase_generation.html
Formal Test Case Generation For UML Statecharts
http://fmt.isti.cnr.it/WEBPAPER/iceccs04.pdf
Automated Test Case Generation From Dynamic Models
http://www.ifs.uni-linz.ac.at/~ecoop/cd/papers/1850/18500472.pdfUML-Based Statistical Test Case Generation
http://www.old.netobjectdays.org ... LTestGen-slides.pdf
Automated TTCN-3 Test Case Generation By Means Of UML Sequence Diagrams and Markov Chains
http://csdl2.computer.org/persag ... th=/dl/proceedings/
&toc=comp/proceedings/ats/2003/1951/00/1951toc.xml&DOI=10.1109/ATS.2003.1250791
Using Combinations to Improve Your Software Test Case Generation
http://msdn.microsoft.com/msdnmag/issues/04/07/TestRun/
An Automate Test Case Generation Approach: Using Match Technique
http://csdl2.computer.org/persag ... dings/&toc=comp
/proceedings/cit/2005/2432/00/2432toc.xml&DOI=10.1109/CIT.2005.64
Test Case Generation and Test Case Specification Based on Message Sequence Charts
http://www.swe.informatik.uni-go ... g=de&pub_nr=198
Random Number Based Test Case Generation
http://www.concentric.net/~ttwang/tech/rndtest.htm
A Tool For Optimizing and Auto Generating Test Cases
http://www.cistel.com/free_exper ... ns/SmartTC_2005.pdf
Generating Goal-Oriented Test Cases
http://www.eecs.wsu.edu/~aandrews/compsac99.ps
A Survey On Automatic Test Case Generation
http://www.acadjournal.com/2005/v15/part6/p4/
Test Plan Generation Using Formal Grammars
http://citeseer.ifi.unizh.ch/context/199471/0
Generating and Managing Test Plans For Testing Computer Software (Patent)
http://cxp.paterra.com/uspregrant20030196190cn.html
Generating Test Plan From Use Cases
http://www.codecomments.com/archive386-2005-3-438394.html
Technique For Automatically Generating A Software Test Plan
http://www.freepatentsonline.com/6546506.html
Plan Generation For GUI Testing
http://www.eecs.umich.edu/~polla ... strib/aips00-gui.ps
Method and System For Generating Test scrīpts (Patent)
http://www.freepatentsonline.com/5754755.html
Automatic Generation of Test scrīpts From Formal Test Specifications
http://citeseer.ist.psu.edu/context/362345/0
Toward Automatic Generation of Novice User Test scrīpts
http://citeseer.ist.psu.edu/context/340605/0
Toward a Totally Automatic Test scrīpts Generation
http://www.sqe.com/archive/se2000/c_sessions_3.html
Automatic Generation Of Test Oracles
http://ase.cs.uni-essen.de/olbib/99Feather.pdf
Automated Testing Using Shell scrīpting
http://www.sqe.com/archive/se2000/c_sessions_3.html
Open Source scrīpting For Test Automation
http://www.stickyminds.com/getfi ... US10415818file1.doc
Guidelines for scrīpting Languages In Test Automation
http://www.psqtconference.com/20 ... gLanguagesPaper.pdf
Best Practices For Automated Testing
http://www.automatedqa.com/techpapers/tc_bestpractices.asp
Software Test Automation: Effective Use of Test Execution Tools (Book 1999)
http://www.powells.com/biblio?isbn=0201331403
Open Source Automated Test Tools Written in Java
http://www.manageability.org/blo ... ols-written-in-java
Open Source Testing Tools In Java
http://java-source.net/open-source/testing-tools
Web Site Test Tools and Site Management Tools
http://www.softwareqatest.com/qatweb1.html
Automated Java Testing Tools
http://www.mmsindia.com/
Automated Testing Tools
http://www.webaim.org/discussion/mail_message.php?id=7579
http://lists.evolt.org/archive/Week-of-Mon-20021111/127873.html
http://www.jroller.com/page/robw ... mated_testing_tools
Using Holodeck with Automated Testing Tools
http://www.securityinnovation.com/holodeck/automated.shtml
Legal Advice From Automated Testing Tools ?
http://www.accessifyforum.com/viewtopic.php?t=4244&start=15
Evaluating Automated Functional Testing Tools
http://www.forrester.com/Research/Document/Excerpt/0,7211,35877,00.html
Automated Test Tools Review
http://www.otivo.com/about/newsletter/010906autotest.html
Automated Testing Tool Evaluation
http://www.vcaa.com/tools/wsipc- ... gtoolevaluation.pdf
SAP CATT – Computer Aided Test Tool
http://www.sap-img.com/sap-catt.htm
Testing SAP R/3 Systems: Using The Computer-Aided Test Tool
http://www.dataclub.fi/product.p ... 7756e1fe92e9a1f3fc1
Regarding Uploading/Testing Using CATT
http://sap.ittoolbox.com/groups/ ... d-test-tools-949576
The Extended Computer Aided Test Tool eCATT
http://help.sap.com/bp_bblibrary ... /J00_BPTools_EN.doc
Computer-Aided Software Testing (CAST)
http://foldoc.org/?Computer-Aided+Software+Testing
http://burks.bton.ac.uk/burks/foldoc/44/23.htm
http://www.computer-dictionary-o ... 0Software%20Testing
http://www.ostrvo.net/recnik/?p=7988
http://www.developers.net/tsearc ... ed+software+testingGJTester – A CAST Tool
http://www.gjtester.com/detaileddesc.php
TESSY – Yet Another Computer-Aided Testing Tool ?
http://www.systematic-testing.com/documents/eurostar1994.pdf
自动测试
http://www.testage.net/TestTech/AutoT/Index.htm
http://www.bonoy.com/a/index.php ... 0ae2383f85dcde97a49
http://www.itgchn.com/autotesting.php
自动测试技术
http://www.testage.net/AutoTest/Index.htm
软件测试自动化
http://www.dangdang.com/product_ ... ?product_id=8761838
软件测试自动化(书 2003)
http://www.china-pub.com/computers/common/info.asp?id=14358
软件测试自动化技术与实例详解 (书 2000)
http://www.china-pub.com/computers/common/info.asp?id=4382
软件测试自动化技术 IBM Rational 技术白皮书
http://www-900.ibm.com/cn/softwa ... e/software_test.pdf
自动化测试是遥不可及的?
http://www.sdp.com.cn/index.php? ... &aid=5&id=7
软件工程与软件测试教程(书 2002, 含光盘)
http://www.phei.com.cn/bookshop/ ... 0&booktype=main
持续集成与测试自动化
http://www.unitware.cn/Article/article_150.htm
软件测试自动化的注意事项
http://www.btesting.com/test/test_art/test_art006.htm
如何在企业内部实现软件测试自动化
http://e.chinabyte.com/368/2212868.shtml
企业内部实现软件测试自动化的方案探讨
http://www.testage.net/TestTech/AutoT/200602/277.htm
软件测试自动: 时机成熟再上马
http://tech.ccidnet.com/art/14/20060206/422143_1.html
选择正确的 GUI 自动化工具
http://www.testage.net/AutoTest/Others/200603/361.htm
恰当选择软件测试自动化方案
http://www.ccw.com.cn/cio/solution/htm2005/20050926_124XQ.asp
图形用户界面测试自动化 (书)
http://www.haotushu.com/book/58355/
智能测试自动化
http://www.51testing.com/html/52/148.html
大家是怎么理解软件测试自动化?
http://bbs.chinaunix.net/viewthr ... &extra=page%3D1
VB 6.0 实现自动控制测试
http://www.mf100.com/document/2006-1/899.shtml
测试自动化组织模型
http://www.ecnchina.com/Article_Show.asp?ArticleID=2873
选择测试自动化框架
http://www.ecnchina.com/Article_Show.asp?ArticleID=2877
基于SSL的ASP.NET Web应用程序测试自动化
http://www.codechina.net/resource/html/2006-03/22/150116.html
迈向测试自动化成功的七个步骤
http://www.a-q.cn/more.asp?name=ajjstar&id=7710
自动化测试的七个常规步骤
http://www.sxcp.gov.cn/Article/ShowArticle.asp?ArticleID=60
自动化测试的要点
http://www.a-q.cn/more.asp?name=ajjstar&id=4853
测试自动化]测试工具的选择和使用
http://www.a-q.cn/more.asp?name=ajjstar&id=4363
您的组织为自动化测试做好准备了吗 ?
http://www-900.ibm.com/developerWorks/cn/rational/r-testauto/
Web Application 的功能测试自动化工具
http://dev.csdn.net/article/76/76305.shtm
用.NET 开发的轻量级 UI 测试自动化
http://www.cnxuexi.com/computer/chengxusheji/net/4412.html
微软软件测试自动化
http://www.qddn.net/forums/3221/PostAttachment.aspx
软件测试自动化工具
http://www.sstl.org.cn/testtools.htm
测试自动化的未来
http://www.netcomm.net.cn/news/view.asp?id=864
软件质量管理的策略: 测试自动化
http://www.qddn.net/forums/3221/ShowPost.aspx
高效软件测试自动化(书 2004)
http://www.huachu.com.cn/itbook/itbookinfo.asp?lbbh=BI03762934
自动化测试: 真的是银弹 ?
http://www.sdp.com.cn/index.php? ... le=read&aid=136
Agilent发布带测试自动化的测试和测量工具集2.0版
http://www.jicheng.net.cn/auto_news/dianziceliang/1004591.html
基于角色的测试自动化
http://dev2dev.bea.com.cn/bbs/th ... mp;messageID=177618
2006 实施办法GUI 自动化测试的计划
http://www.cnitblog.com/qiuyangzh/archive/2006/01/12/6132.html
QuickTest Pro 8.2 企业级自动化测试工具介绍
http://www.2ok.cn/more.asp?name=wendy&id=5590
软件开发全过程检测及软件测试自动化
http://testing.csai.cn/testtech/No007.htm?ID=165
提高自动化测试套件的可维护性
http://www.bonoy.com/a/index.php ... 32e0c0f0d3b833f0f14 -
loadrunner9.0破解成功(转)
2007-12-28
这篇文章转自http://bbs.51testing.com/thread-94444-1-1.html
大漠飞鹰
1、过程和方法:
打开Loadrunner,发现以下几个dll可能和注册有关,mlr5lprg.dll、licensebundles.dll、lm50.dll、lm70.dll。
最后确认mlr5lprg.dll、lm70.dll是关键dll。
破解方法类似与LR8.1
a、用LR8.0中的mlr5lprg.dll、lm70.dll覆盖LR9.0安装目录下“bin”文件夹中的对应文件;
b、然后使用老的注册码就可以使用了;
c、golba-100: AEAMAUIK-YAFEKEKJJKEEA-BCJGI
web-10000: AEABEXFR-YTIEKEKJJMFKEKEKWBRAUNQJU-KBYGB
2、可能会遇到的问题
在破解的过程中我还遇到了个问题,就是通过上述的方法注册时提示“License security violation……”,无法注册。
该问题可通过如下办法解决:
a、手动修改注册表,删除下面内容:
[HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\LoadRunner\License2]
[HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\LoadRunner\License2\History]
"AIBGEBFW-JVED-ZKEKEKEKEKEBDNQAF-KBRDN"=""
[HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\LoadRunner\License2\PermanentLicense]
@="AIBGEBFW-JVED-ZKEKEKEKEKEBDNQAF-KBRDN"
"last"="AIBGEBFW-JVED-ZKEKEKEKEKEBDNQAF-KBRDN"
[HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\LoadRunner\License2\TemporaryLicense]
@="AEBGEBFS-AKEKEKEKE-KAUCA"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{87B3ADD4-21EB-11d5-93EF-00105AA0FD2D}]
@="IControl"
b、可使用网上的朋友提供的LR_delete_License.exe文件删除上述的注册表内容。由于这个程序是针对8.1的,可能会报错,但是不影响使用。
现将上述的文件上传,并发几张图,供大家使用和参看。
有问题的朋友请跟帖,我将尽力解决。
3、申明
最后得感谢HP公司的大度,并没有对注册模块做大的修改,这可以让我们取巧使用。最后请大家不要以此用于商业运作,仅供个人学习参考,请大家支持正版软件。如果转帖,请注明出处。 -
手工测试与自动化测试的优缺点(转)
2007-12-27
测试工作无论是手工测试还是自动化测试都是软件质量保障的一个途径。如何更好的使两者相互结合也是我们现在所要讨论的话题。我们何时应用手工测试又何时应用自动化测试呢?对于一些基本的、逻辑性不强的操作,可以使用自动化测试工具。应该说,现在在性能测试、压力测试等方面,自动化测试有其不可替代的优势。它可以用简单的脚本,实现大量的重复的操作。从而通过对测试结果的分析,得出结论,这样不仅节省了大量的人力和物力,而且使测试的结果更准确。对于一些逻辑性很强的操作,如果自动化测试不是很健全的话,不建议使用。因为这需要比较复杂的脚本语言,不可避免的增加了由于测试脚本的缺陷所造成测试结果错误的误差。这时就需要手动测试了。
手工测试也存在这一些缺陷,手工测试者最常做的就是重复的手工回归测试,不但代价昂贵,而且容易出错。自动化测试可以减少但不能消除这种工作的工作量。测试者可以有更多的时间去从事更有趣的测试,例如在应用程序在复杂的场景下的不同处理等,尽管测试就是要花费更长的时间找到错误,但比不意味着因此而要付出更高的代价。所以选择正确的测试方法是尤为重要的。
我在某位博客上又归结了自动化测试的优缺点:
自动化测试的优点:
1、对程序的回归测试更方便。这可能是自动化测试最主要的任务,特别是在程序修改比较频繁时,效果是非常明显的。由于回归测试的动作和用例是完全设计好的,测试期望的结果也是完全可以预料的,将回归测试自动运行,可以极大提高测试效率,缩短回归测试时间。
2、可以运行更多更繁琐的测试。自动化的一个明显的好处是可以在较少的时间内运行更多的测试。
3、可以执行一些手工测试困难或不可能进行的测试。比如,对于大量用户的测试,不可能同时让足够多的测试人员同时进行测试,但是却可以通过自动化测试模拟同时有许多用户,从而达到测试的目的。
4、更好地利用资源。将繁琐的任务自动化,可以提高准确性和测试人员的积极性,将测试技术人员解脱出来投入更多精力设计更好的测试用例。有些测试不适合于自动测试,仅适合于手工测试,将可自动测试的测试自动化后,可以让测试人员专注于手工测试部分,提高手工测试的效率。
5、测试具有一致性和可重复性。由于测试是自动执行的,每次测试的结果和执行的内容的一致性是可以得到保障的,从而达到测试的可重复的效果。
6、测试的复用性。由于自动测试通常采用脚本技术,这样就有可能只需要做少量的甚至不做修改,实现在不同的测试过程中使用相同的用例。
7、增加软件信任度。由于测试是自动执行的,所以不存在执行过程中的疏忽和错误,完全取决于测试的设计质量。一旦软件通过了强有力的自动测试后,软件的信任度自然会增加。
自动化测试的缺点:
1、不能取代手工测试
2、手工测试比自动测试发现的缺陷更多
3、对测试质量的依赖性极大
4、测试自动化不能提高有效性
5、测试自动化可能会制约软件开发。由于自动测试比手动测试更脆弱,所以维护会受到限制,从而制约软件的开发。
7、工具本身并无想像力
综上所述,可以归结自动化完成不了的,手工测试都能弥补,两者有效的结合是测试质量保证的关键。



