FAQ Home

Test Development FAQ

QA Testing FAQ 1

QA Testing FAQ 2

QA Less-FAQ

Interview FAQ

TestDirector FAQ

QTP FAQ

WinRunner FAQ

LoadRunner FAQ

Other QA Testing Resources

QA and Test Tools

you are here Winrunner vs. QTP

WebSite Test & Management Tools

Jobs & News

Index


We need your help! To keep the site alive, please make the donation by clicking the button below.
Thank you very much!

How to Make a Donation Using PayPal Without an Account?

WINRUNNER vs. QTP [Comparison]

Environments (common)

Environments that are supported by both QTP and WinRunner. This means that for these environments, Mercury has provided add-ins for both QTP & WinRunner.

Web

Desktop

Internet Explorer

Active X Controls

Netscape

Visual Basic

AOL

C/C++

AWT & JFC

Environments (different)

Environments that are supported by one of QTP or WinRunner.

WinRunner

QTP

PowerBuilder

.NET

Forte

Flash

Delphi

XML Web Services

Centura

Stingray

SmallTalk

User Model

How users interact with the application

WinRunner

QTP

Focus on test script

Synchronized Test Script and Active Screen

Requires familiarity with programming

Has an expert mode for programmers

Very Powerful

Easy, yet powerful

Test Creation Process

  1. Create GUI Map (WR) or Object Repository (QTP)
  2. Create Test

- Record Script

- Edit Script

Add one or more of the following

Verification

Synchronization

Checkpoints

Data Parameterization

  1. Debug Test
  2. Run Test
  3. View Result
  4. Track Defects

Script Recording Modes

WinRunner

QTP

Context Sensitive

- Uses a flat object hierarchy

Context Sensitive

- Uses a multi-level object hierarchy

Analog

- Captures keyboard input, mouse click, mouse path

Low-level

- Uses mouse co-ordinates

Scripts

The process of how scripts are created and stored.

WinRunner

QTP

Programmatic representation

Two modes. Icon based and programmatic representation

TSL, similar to C

VBScript, similar to VB

Procedural language

Object-oriented language

Uses objects from GUI Map

Uses objects from Object Repository

Object Storage and Operations

How QTP/Winrunner recognize the objects in an AUT and how they store the information about these objects.

WinRunner

QTP

Stored in a flat hierarchy

Multi level object hierarchy

Viewed using GUI Spy

Viewed using Object Spy

Stored in GUI Map

Stored in Object Repository

Creates temporary GUI Map file to hold new objects

Automatically saves object repository

Additional Items

Miscellaneous details

WinRunner

QTP

Transaction measurement

- Through TSL programming

Transaction measurement

- Through tree view and VBScript programming

Data Driven operations

- Create iterations programmatically

Data Driven operations

- Create iterations automatically and programmatically

Create code using Function generator

Create code using Method wizard generator

Exception Handling

- Uses the Exception Editor

Exception Handling

- Uses the Recovery Scenario Manager