03-20-2009, 07:32 PM
By the way, what error message you are getting?
Try put wait(20) before WaitProperty Line and see if it helps.
If it does help it means object was not available, try to enclose WaitProperty with IF-END use Exist method:
If Brow
Try put wait(20) before WaitProperty Line and see if it helps.
Code:
wait(20)
Browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").WebEdit("login").WaitProperty "Value", "Inbox", 3000
If it does help it means object was not available, try to enclose WaitProperty with IF-END use Exist method:
Code:
If Browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").WebEdit("login").Exist 30000
Browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").WebEdit("login").WaitProperty "Value", "Inbox", 3000
End If
If Brow