Single Post

Header

Sunday, September 30, 2012

CheckPoints in qtp




Check Points :
To check whether the expected value is matching with the actual value or not, we use check points in qtp

1.Standard CheckPoint :

Is used to Check the object property values

Example For Standard Check Point:Goto Flight Application
Enter agent name “venkatesh” and then record .
Goto–Insert–Check Point–Standard Checkpoint
Click on venkatesh.Then we have added the check point.Click on Cancel.

Exexute it.
Here we are checking the value in the Agent Name while running.

Dialog(“Login”).Activate
Dialog(“Login”).WinEdit(“Agent Name:”).Check CheckPoint(“Agent Name:”)
Dialog(“Login”).WinButton(“Cancel”).Click

We can use standard check points for checking
Textboxes ,Radio Buttons,Drop down,Buttons,etc
Also static (text,image),Window,etc

No comments:

Post a Comment