The document compares the testing tool Winrunner to QTP and outlines their differences. It discusses that Winrunner supports older client/server environments while QTP supports newer .NET, XML, and multimedia technologies. Both support common environments like web, ActiveX, and Oracle. While they share features like recording, debugging, and object repositories, Winrunner uses TSL scripting while QTP uses VBScript and JavaScript. QTP also supports OOP concepts and more robust checkpoint and result features.
1. Basic Differences between Winrunner
& QTP
10/04/2009
Author:
Gopinath Subramaniam (222528)
Co-author:
Kathiravan D (248983)
2. 1. Environments Coverage
1.1 Environments applicable only for Winrunner
• Custom Client/Server PowerBuilder
• Forte
• Centura
• Delphi
• Stingray
• SmallTalk
• ERP/CRM Baan
• PeopleSoft Windows
• Siebel 5, 6 GUI Clients
• Oracle GUI Forms
1.2 Environments applicable only for QTP
• 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
3. 1.3 Common Environments shared by both Winrunner and QTP
• Web-Related Environments IE, Netscape, AOL
• 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
• Symantec Visual Cafe
• JDK,JAVA Foundation Classes, AWT
2. Common features found in both Winrunner and QTP
• Record/Replay ODBC & Excel Connectivity
• Code Editor, Debugger & Recovery Manager
• Shared Object Repository & Rapid Object Import
• Checkpoints
• Scripts & Function Libraries
3. Winrunner uses TSL language where as QTP uses VB script & Java script.
4. Winrunner doesn't support the OOPS concept where QTP supports the OOPS concept.
5. Winrunner doesn't support to multimedia. QTP supports to multimedia, media player
and photoshop.
6. Winrunner acts only as an Interpreter (Line by line execution) but QTP acts as a
compiler.
7. In Winrunner GUI spy is used to explore the properties of object / window. In QTP
Object spy is used.
8. In Winrunner GUI Map editor is used to store the physical descriptions of objects but in
QTP Object Repository is used.
9. Winrunner has 4 types of checkpoints:
4. 1. GUI checkpoint
2. Bitmap checkpoint
3. Database checkpoint
4. Text checkpoint
QTP has 9 types of checkpoints:
1. Standard check point
2. Bitmap checkpoint
3. Database checkpoint
4. Text/Text area checkpoint
5. Image checkpoint
6. Table checkpoint
7. Page checkpoint
8. Accessibility checkpoint
9. XML checkpoint
10. Winrunner has only one view i.e. Normal Mode but QTP has 2 Views
1. Expert View
2. Keyword View
11. Winrunner has 4 types of result window
1. Test result window
2. GUI checkpoint window
3. DB checkpoint window
4. DB record checkpoint window
QTP has only one i.e. Test Summary Result Window.
12. Snapshot option is not available in Winrunner, but is available in QTP.
13. Data type declaration in Winrunner is not necessary but it is mandatory in QTP.
14. Winrunner has Only one window i.e. Form Window but QTP has five types of Window
1. Tree View or Keyword view
2. Expert View
5. 3. Data Table
4. Active Screen
5. Debug Viewer
15. Winrunner has following running methods [1. Step, 2. Step into, 3. Step out] but QTP
has [1. Step into 2. Step over 3. Step out].
16. Function generator is present in Winrunner but it is not available in QTP.