Saturday, May 23, 2009

Difference between QTP and Winrunner

Object Identification

1) Mandatory properties
2) Assistive (optional) properties

Checkpoints

It is a verification point that compares a current value for a specified property with the expected value for that property. This enables you to identify whether your website or application is functioning correctly.

Transaction

The time taken by a section of the test to run can be measured by defining transaction. You define transaction within your test by enclosing the appropriate section of the test with START and END transaction statements.

Synchronization

Problem or errors can occur due to timing issues eg:
- progress bar to reach 100%
- button to become enabled
- For window to open or
- pop-up message to open etc.
Ways to solve synchronization problem :
1) Add Synchronization
2) Insert Wait statement
3) Set Global Synchronization Timeouts
       -> change the object synchronization timeout ( File -> Settings -> Run Tab)
       -> change the Browser Navigation timeout ( File -> Settings -> web Tab)
       



Object Spy

It is a tool used to view properties of any object in an open application.

Object Repository

QTP stores the recorded object properties in object repository. It displays a test tree of all objects in the current action or the entire test. It is used to 
-  View or modify the properties of any test object in the repository 
-  Add new objects to your repository.