Diff between win runner vs and qtp

  • Published on

  • View

  • Download

Embed Size (px)




  • 1. for more QTP scripts, visit www.ramupalanki.com WinRunner vs. QuickTest Pro Quick Comparison OverviewToday Mercury has two functional testing tools WinRunner (WR) andQuickTest Professional (QTP). WinRunner has been around since about1995 while QuickTest Pro has been available since about 2002. We havelots of companies asking us Whats the difference between WinRunner andQuickTest Pro? and If they are both functional testing tools from the samecompany, then which one of the tools should we use? This document wasdeveloped as a short simple reference in helping to understand the basicsabout the tools in order to answer these two questions.Mercurys position on the two tools is this: 1 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 (scripts/functions) from QuickTest Pro without any modification to these assets. 2 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. 3 QuickTest Pro remains Mercurys prime product 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.www.ramupalanki.com
  • 2. for more QTP scripts, visit www.ramupalanki.com WinRunner Compared to QuickTest ProEnvironment Coverage Comparison: 1 Common environments shared by both WinRunner and QuickTest Pro: Web-Related IE, Netscape, AOL Environments JDK, Java Foundation Classes, AWT Symantec Visual Caf ActiveX Controls ERP/CRM Oracle: Jinitiator, 11i, NCA Custom Client Server Windows C++/C Visual Basic Operating Systems Windows 98, 2000, NT, ME, XP Legacy 3270, 5250 Emulators VT100 2 WinRunner Only Environments: Custom PowerBuilder Client/Server Forte Delphi Centura Stingray SmallTalk ERP/CRM Baan PeopleSoft Windows Siebel 5, 6 GUI Clients Oracle GUI Forms 3 QuickTest Pro Only Environments: ERP/CRM SAPwww.ramupalanki.com
  • 3. for more QTP scripts, visit www.ramupalanki.com Siebel 7.x PeopleSoft 8.x .Net WinForms WebForms .Net controls Web Services XML, HTTP WSDL, SOAP J2EE, .Net Multimedia RealAudio/Video FlashFeature Comparison: 4 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 Script & Function Libraries 5 WinRunner Only Environments: Function Generator Database Integration Run Wizard TSL MDI 6 QuickTest Pro Only Environments: ActiveScreen TestGuard Tree View ScriptFusion Data Table VBScript Function Run Wizard* Generator* (coming in v7.0) (coming in v7.0)www.ramupalanki.com
  • 4. for more QTP scripts, visit www.ramupalanki.com What We Recommend QuickTest Pro is our functional testing tool of choice!Most customers are in either of two situations: 7 Existing WinRunner customers asking Should we switch to QuickTest Pro? 8 New customers asking Which should we get, WinRunner or QuickTest Pro?We have been implementing Mercurys products since 1992 and have seniorlevel expertise in WinRunner. We have been implementing WinRunnersince the very first version of it. So like many existing WinRunnercustomers we have a huge knowledge investment in WinRunner ourselves.However we have worked on the Mercury development team on theQuickTest Pro 6.0 and 6.5 releases, and have solid real-world experience inimplementing QuickTest Pro since the 6.0 release. We have found it to be agreat tool to use and recommend it to all customers! Overall, werecommend using QuickTest Pro unless for some reason you have to useWinRunner due to an unsupported environment not existing in QuickTestPro.Overall, QuickTest Pro is easier to use and implement for both technical andnon-technical testers in comparison to WinRunner. QTP offers manyfeatures that are found in WinRunner, but are easier to use. QTP also offersmany features not found in WinRunner that make test script creation,enhancement and maintenance easier.Lets quickly discuss some key issues: 1 The WinRunner interface forces the user to look directly at TSL code. TSL is the WinRunner programming language developed by Mercury. It is based on the C programming language and therefore looks very similar. For testers who do not have a technical background, they are not always comfortable with having to always look at code. However QuickTest Pro offers a Tree View which is an icon-based view of the script. This is very easy to get used to andwww.ramupalanki.com
  • 5. for more QTP scripts, visit www.ramupalanki.com non-technical people adapt to it quicker and feel more comfortable working with it. For the technical user, they can always switch over to the Expert View in QuickTest and look directly at code, and program away using VBScript. 2 WinRunner uses TSL which is a proprietary language of Mercury. These types of languages can be very restrictive and you are limited on available resources. QuickTest Pro use the Microsoft programming language VBScript which is very powerful, has lots of capabilities and there are lots of resources available. 3 We feel that there are many more point and click features in QuickTest Pro than WinRunner. This makes its use easier. 4 All the same features found in WinRunner are found in QuickTest Pro plus more. 5 Data Table integration is much easier and simpler with QuickTest Pro. 6 Data Driven Testing is easier with more options in QuickTest Pro. 7 Script enhancements are typically easier with QuickTest Pro because it has the Active Screen where the windows and objects in your application are captured for later use. Using a point and click capability you can easily interface with objects, their definitions and create checkpoints after having recorded a script without having to navigate back to that location in your application like you have to with WinRunner. This greatly speeds up script development.www.ramupalanki.com
  • 6. for more QTP scripts, visit www.ramupalanki.com 8 QuickTest Pro currently has built in integration with WinRunner in order to be able to call existing scripts, which is great for customers who already have a large test script investment with WinRunner. Likewise WinRunner 8.0 is to have the ability to also call QuickTest Pro scripts. This eases the transition from WinRunner to QuickTest Pro for existing customers. 9 Parameterization is much easier in QuickTest Pro and basically anything in QuickTest Pro can be parameterized (statements, checkpoints and the Object Repository). 10 Capturing various output values is easier and simpler with QuickTest Pro. Using this capability with parameterization enables you to easily develop scripts that can do more in regards to testing. 11 We have been implementing QuickTest Pro in real-world environments and have found it much easier to use, advance features are easier to implement and the script development is quicker. We really enjoy using QuickTest Pro and highly recommend it as the functional testing tool to use.www.ramupalanki.com
  • 7. for more QTP scripts, visit www.ramupalanki.com WinRunnerSummary:This product is a mature tool that has been around since approximately1995. It interfaces with most of the leading development toolkits using theWindowsAPI and toolkit DLLs to interface with the Application UnderTest.WinRunner offers a recording feature that will watch the individual testerand generate a test script to simulate the same actions just performed. Thescript is displayed as a program which can be enhanced with checkpoints,logic and special coding/programming.WinRunner also has integration with Excel spreadsheets for data driventesting and the ability to write data out in Excel format or in simple textfiles.Here is the description from the Mercury Features and Benefits section ofthe WinRunner web page: Significantly increase power and flexibility of tests without any programming: The Function Generator presents a quick and error- free way to design tests and enhance scripts without any programming knowledge. Testers can simply point at a GUI object, and WinRunner will examine it, determine its class and suggest an appropriate function to be used. Use multiple verification types to ensure sound functionality: WinRunner provides checkpoints for text, GUI, bitmaps, URL links and the database, allowing testers to compare expected and actual outcomes and identify potential problems with numerous GUI objects and their functionality. Verify data integrity in your back-end database: Built-in Database Verification confirms values stored in the database and ensures transaction accuracy and the data integrity of records that have been updated, deleted and added. View, store and verify at a glance every attribute of tested objects: WinRunners GUI Spy automatically identifies, records and displayswww.ramupalanki.com
  • 8. for more QTP scripts, visit www.ramupalanki.com the properties of standard GUI objects, ActiveX controls, as well as Java objects and methods. This ensures that every object in the user interface is recognized by the script and can be tested. Maintain tests and build reusable scripts: The GUI map provides a centralized object repository, allowing testers to verify and modify any tested object. These changes are then automatically propagated to all appropriate scripts, eliminating the need to build new scripts each time the application is modified. Test multiple environments with a single application: WinRunner supports more than 30 environments, including Web, Java, Visual Basic, etc. In addition, it provides targeted solutions for such leading ERP/CRM applications as SAP, Siebel, PeopleSoft and a number of others. Simplify creation of test scripts: WinRunners DataDriver Wizard greatly simplifies the process of preparing test data and scripts. This allows for optimal use of QA resources and results in more thorough testing. Automatically identify discrepancies in data: WinRunner examines and compares expected and actual results using multiple verifications for text, GUI, bitmaps, URLs, and databases. This ensures stable functionality and execution of business transactions when the application is released into production. Validate applications across browsers: WinRunner enables the same test to be used to validate applications in Internet Explorer, Netscape, and AOL. This saves testing time and reduces the number of scripts that must be developed and maintained. Automatically recover tested applications from a crash: Unexpected events, errors, and application crashes during a test run can disrupt the testing process and distort results. WinRunners Recovery Manager enables unattended recovery and provides a wizard that guides the process of defining a recovery scenario. Leverage investments in other testing products: WinRunner fully integrates with our other testing solutions, including LoadRunner for load testing and TestDirector for global test management. Moreover, organizations can reuse WinRunner test scripts with QuickTest Professional.www.ramupalanki.com
  • 9. for more QTP scripts, visit www.ramupalanki.com - WinRunner Features and Benefits webpage from Mercury: http://www.mercury.com/us/products/quality-center/functional- testing/winrunner/features.htmlPros: Mature product that has been around since about 1995. Simple interface. Many features. Many consultants and user group/forums for support. Decent built in help. Fewer features to ha...