10-15-2009, 10:45 PM
One is by getting the return value from Checkpoint. This will return True/False. Since you know what you are checking, you can use Reporter statements to pass results
Second is by using GetROProperty which will fetch the actual values for you.
Code:
bName = Browser("homepage").Page("User Login").WebEdit("sid").Check (CheckPoint("sid"))
Second is by using GetROProperty which will fetch the actual values for you.
Code:
sName = Browser("homepage").Page("User Login").WebEdit("sid").GetROProperty("<[i]property name[/i]>")
Want to fast track your QTP/UFT Learning? Join our UFT Training Course