Header Ads

How to validate check points in QTP

Well few days back one of my junior asked me ..how to check if a checkpoint is passed or failed...

Checkpoint returns on True or False.Based on that it can be coded..
Below is the example.

value_chkpoint = Browser(...).Page(...).WebEdit(...).Check (Checkpoint("Check1"))
if value_chkpoint then
MsgBox "Check Point passed"
MsgBox "Check Point failed"
end if
Powered by Blogger.