07-17-2008, 12:31 PM
Hi,
Please try out the below code which may useful to you.
Thanks & Regards,
Uday.
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
Uday.