Pages

Wednesday, March 26, 2008

What is difference between WinRunner and QTP?

Hi Lab Folks,
Cool information about WinRunner and QTP to share with you all.....

1.Winrunner uses TSL language where as QTP uses VB script & Java script

2.Winrunner doesn’t supports the OOPS concept where QTP supports the OOPS concept

3. Winrunner doesn’t supports to multimedia. QTP supports to multimedia , media player , photo shop. (6.5 version ).

4. Winrunner doesn’t supports to XML. QTP supports to XML

5. Winrunner doesn’t supports to .NET. QTP supports to .NET.

6. Winrunner supports only Interpreter ( Line by line execution ). QTP is compiler.

7. In Winrunner GUI spy is used to check the properties of object / window. In QTP,the name is Object spy

8. Winrunner: GUI Map editor is used to store the physical descriptions. QTP: Object Repository is used to store the physical descriptions of the objects

9. Winrunner has 3 modes of recoding :analog and context sensitive recording modes. QTP has only one recording mode i.e Standard recording mode. In this recording 2 types are (1) Analog (2) Low level

10. Winrunner has 4 types of checkpoints [ GUI checkpoint, Bitmap checkpoint, Database checkpoint, Text checkpoint ]. QTP has
9 types of checkpoints [ Standard check point, Bitmap checkpoint,
Database checkpoint, Text/Text area checkpoint, Image checkpoint, Table
checkpoint, Page checkpoint, Accessibility checkpoint, XML checkpoint ]

11. Winrunner: In GUI check point has 3 types
1. single object / single property
2. single object / multiple property
3. multiple object / multiple property
QTP has only One type i.e Single object / Multiple Property

12. Winrunner: In Bitmap checkpoint 2 types
1. for Object / Window
2. for Screen Area
QTP has only One i.e for Object / Window Bitmap using this above checkpoint we can check also Screen area

13. Winrunner: In Database check point there are 3 types
1. Default 2. Custom 3. Runtime
Here in QTP only One Type i.e Custom database checkpoint

14. 9 types of verifications in WR
1. Case Sensitive
2. Case Insensitive
3. Numeric Range
4. Numeric Content
5. Case Sensitive Ignore Space
6. Case Insensitive Ignore Space
7. Exact one match record
8. One or more match record
9. No match record

3 types of verifications in QTP
1. Numeric Range
2. Numeric Content
3. String Content

15. 3 types of Synchronizations in WR
1. for Object / Window Property
2. for Object / Window Bitmap
3. for Screen Area Bitmap
In QTP only One type i.e Object / Window Property

16. WR: Has 3 types of running modes i.e 1.Verify 2. Debug 3. Update. QTP has 2 types of running modes
i.e 1. Standard 2. Update

17. Exception Handling method used to avoid the runtime errors in WR 3 types [ 1. Popup 2. TSL 3. Object ] .In QTP name
is Recovery Scenario and here 4 types of exceptions [ 1. Pop-up Window
2. Object state 3. Test run error 4. Application Crash ]

18. In WR 4
types of result window [ 1. Test result window 2. GUI checkpoint window
3. DB checkpoint window 4. DB record checkpoint window ]. Here in QTP only One Window i.e Test Summary Result Window

19. In WR Test script is divided into 2 parts [ 1. Main Script 2. Compile Module ]. No such types using WR we can execute functions in QTP

20. Add-ins in WR are: 1. ActiveX 2. Power Builder 3. Visual Basic 4. Web 5. Java 6. C 7. C++ , etc Add-ins in QTP are: 1. ActiveX 2. Visual Basic 3. Java 4. Web 5. Multi-media ( 6.5 version )

21. In WR only One View i.e Normal Mode. Here in QTP 2 Views 1. Expert View 2. Keyword View

22.WR: Only One Sheet in data Table if we want to add another sheet then another new data table to be opened. In QTP 2 sheets in Data Table 1. Global 2. Action. In action sheet we can add number of sheets

23. WR: Virtual Object wizard only One type. QTP : 2 types of Virtual Object Wizards [ 1. Virtual Object 2. Virtual Object Manager ]

24. WR: Here after checking the checkpoints it gives mismatch error ( no snap Shots ). QTP: Checks the checkpoint but will not give mismatch error . If test is fail it shows snap shot

25. WR: support Rapid script wizard. QTP: no rapid script wizard

26. Function generator is present in WR. QTP: No Function Generator

27. WR: 2 types of GUI map editor [ 1. Global 2 Per test ]. QTP: only one type i.e Global

28. WR: Only One window I’e Form Window You want to open data table we have to call the function to open data table.
QTP : five types of Window [ 1. Tree View or Keyword view 2. Expert View 3. Data Table 4. Active Screen 5. Debug Viewer ]

29. WR: Running methods [ 1. Step, 2. Step into, 3. Step out ]. QTP : Running Methods [ 1. Step into 2. Step over 3. Step out ]

30. WR: Data type declaration is not necessary. QTP: data type declaration is must

Ganesh.KB


Technorati Tags: , , , , , , , ,

1 comment:

Anonymous said...

Awesome thanks..That helps.
Very useful blog.