Ad Home

Theme images by kelvinjay. Powered by Blogger.

Travel

Header Ads

Java

Selenium

UFT

Framework

General QA Concept

BDD

» » 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...

Simple....
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"
else
MsgBox "Check Point failed"
end if

«
Next
Newer Post
»
Previous
Older Post

No comments:

Leave a Reply