Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CheckPoints: Are they only for objects?
#5
Solved: 11 Years, 4 Months, 1 Week ago
Hi,

Please try out the below code which may useful to you.
Code:
Browser("Browser").Page("Gmail: Email from Google").WebEdit("Email").Set "xyz"
Browser("Browser").Page("Gmail: Email from Google").WebEdit("Passwd").Set "xyz"
temp1=Browser("Browser").Page("Gmail: Email from Google").WebEdit("Email").GetROProperty("value")
temp2=Browser("Browser").Page("Gmail: Email from Google").WebEdit("Passwd").GetROProperty("value")

If temp1=temp2 Then
    reporter.ReportEvent micPass,"Check status","Values in the text box are matched"
else
    reporter.ReportEvent micFail,"Check status","Values in the text box are not matched"
End If
Thanks & Regards,
Uday.
Reply


Messages In This Thread
RE: CheckPoints: Are they only for objects? - by anemuday - 07-17-2008, 12:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why not Checkpoints subhashinid 0 1,614 06-30-2016, 07:36 PM
Last Post: subhashinid
  Query about checkpoints pkdhake 5 3,711 07-11-2013, 03:17 PM
Last Post: vinod123
  Text checkpoints don't work for Chrome (and sometimes FireFox) applening56 0 1,966 06-21-2012, 10:08 PM
Last Post: applening56
  How to "save" changes to checkpoints in the repository? mag7417 2 3,259 10-05-2011, 06:55 PM
Last Post: anil2u
  QTP 10's Object Repository Checkpoints and Output Objects question Tonya S 2 5,029 09-09-2011, 02:09 AM
Last Post: Tonya S

Forum Jump:


Users browsing this thread: 1 Guest(s)