03-19-2009, 09:59 PM
Guys, i am new to QTP. i am trying to execute the following script but its throwing me a warning message.
Please let me know (in detail if possible) what is wrong with this script.
Also, where can i look at the detailed error messages/warnings? Does QTP generate any kind of log files where i can look for the details.
Appreciate your help in advance.
Thanks
Code:
Browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").WebButton("Sign In").Click
Browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").WebEdit("login").WaitProperty "text", "Inbox", 30000
Browser("Yahoo! Mail: The best").Page("(0 unread) Yahoo! Mail,").WebElement("Sign Out").Click
Please let me know (in detail if possible) what is wrong with this script.
Also, where can i look at the detailed error messages/warnings? Does QTP generate any kind of log files where i can look for the details.
Appreciate your help in advance.
Thanks