WinRunner Compared to QuickTest Pro
Web-Related Environments |
IE, Netscape, AOL |
|
JDK, Java Foundation Classes, AWT |
|
Symantec Visual Café |
|
ActiveX Controls |
ERP/CRM |
Oracle: Jinitiator, 11i, NCA |
Custom Client Server |
|
|
C++/C |
|
Visual Basic |
Operating Systems |
Windows 98, 2000, NT, ME, XP |
Legacy |
3270, 5250 Emulators |
|
VT100 |
Custom Client/Server |
PowerBuilder |
|
Forte |
|
|
|
Centura |
|
Stingray |
|
SmallTalk |
ERP/CRM |
Baan |
|
PeopleSoft Windows |
|
Siebel 5, 6 GUI Clients |
|
Oracle GUI Forms |
MILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"> QuickTest Pro Only Environments:
ERP/CRM |
SAP |
|
Siebel 7.x |
|
PeopleSoft 8.x |
.Net |
WinForms |
|
WebForms |
|
.Net controls |
Web Services |
XML, HTTP |
|
WSDL, SOAP |
|
J2EE, .Net |
Multimedia |
RealAudio/Video |
|
Flash |
Common features found in both WinRunner and QuickTest Pro:
Record/Replay |
ODBC & Excel Connectivity |
Code Editor & Debugger |
Recovery Manager |
Shared Object Repository |
Rapid Object Import |
Numerous Checkpoints |
Analog |
scrīpt & Function Libraries |
|
Function Generator |
Database Integration |
Run Wizard |
TSL |
MDI |
|
QuickTest Pro Only Environments:
ActiveScreen |
TestGuard |
Tree View |
scrīptFusion |
Data Table |
VBscrīpt |
Function Generator* (coming in v7.0) |
Run Wizard* (coming in v7.0) |
WinRunner和Quick Test Professional(简称QTP)都是MERCURY公司开发的非常强大功能自动化测试工具,从时间上来看,WinRunner在1995年便已经推出,而QTP直到2002年才正式推出。
我想从以下几点来谈谈我个人的看法,这里只列出它们两者的不同点:
1.从界面来看:WinRunner只有一个显示脚本的界面,而QTP的Kyword View 、Expert View、Data Table、Active Screen四个界面可以显示在同一个窗口,在脚本回放时让人可以时时刻刻了解到脚本运行的情况,虽然这些功能WinRunner都可以实现,但相比较下QTP更直观、更好;
2.从支持的语言来看:如上表列出的,两者有所不同,在这我就不再列出;
3.从生成的脚本来看:WinRunner生成的是TSL脚本,这是MI公司独有的语言,是一种类C语言,而QTP生成的是VBscrīpt,从编程能力上,WinRunner更胜一筹,因为它拥有相当丰富的C语言函数库,相对而言QTP则更显得大众化,它面向的是没有太多技术背景和编程经验的测试人员;
4.从适用范围来看:WinRunner比较适用于C/S架构软件,而QTP虽然对于C/S架构的也适用,但对于B/S架构的适用性更剩一筹;
5.QTP8.0具有的一大特性:关键字驱动测试(keyword-driven testing),这点我实践的比较少,理解不是很深,希望能和大家共同讨论;
具体选用那种工具,应该根据公司自身的情况来定。这些只是个人理解,如果有不完整或者不对的地方,欢迎大家跟帖讨论!
文章来源于领测软件测试网 https://www.ltesting.net/