很多初入行的朋友使用测试工具进行功能测试的时候,总是会遇到QTP和WinRunner的选择问题,为什么同样一家公司会出两个功能类似的工具哪? 下面是一篇关于这两个工具的对比介绍,其实从我自己的经验来看,WinRunner虽然推出较早,但是因为一些功能的缺陷,导致后期很难推广,而Quick Test Professinal(QTP)虽然没有师兄WinRunner出道早,然后内功深厚,所以很受欢迎,而且Mercury公司以后的主要发展策略是QTP,虽然文章中说并没有计划Phase out WR,但是已经不再出新版本了. 针对这两个工具的3年左右的使用经验,我的感受是WR比QTP的逊色的地方主要是几点:
1. WR的对象管理不如QTP那么有效
2. WR的语言主要是基于类C的TSL,是Mercury发明的语言,明显不如基于VBscrīpt的QTP强
3. WR的稳定性不行,而且无意人为的干扰可能导致回放的失败
4. WR对Java的支持也不如QTP那么强
WinRunner vs. QuickTest Pro
Quick Comparison
Today Mercury has two functional testing tools – WinRunner (WR) and QuickTest Professional (QTP).WinRunner has been around since about 1995 while QuickTest Pro has been available since about 2002.We have lots of companies asking us “What’s the difference between WinRunner and QuickTest Pro?” and “If they are both functional testing tools from the same company, then which one of the tools should we use?”This document was developed as a short simple reference in helping to understand the basics about the tools in order to answer these two questions.
Mercury’s position on the two tools is this:
<!--[if !supportLists]--><!--[endif]-->The strategic direction for Mercury and its customers for Functional Testing is product integration. The new releases of QTP and WR improve already existing integration where customers can leverage complete WinRunner assets (scrīpts/functions) from QuickTest Pro without any modification to these assets.
<!--[if !supportLists]--><!--[endif]-->QuickTest Pro 8 has recently been released and WinRunner version 8.0 is planned for November 2004. There are no plans to phase out WinRunner.
<!--[if !supportLists]--><!--[endif]-->QuickTest Pro remains Mercury’sprimeproduct for best customer satisfaction and experience. For customers who need both products, Mercury continues to offer Mercury Functional Testing as a combined package of both product offerings. The Business Process Testing system will be extended to incorporate components designed in WinRunner for the WinRunner 8.0 release in November.