Friday, August 6, 2010

Logging into gmail account using VB Script

InvokeApplication "C:\Program Files\Internet Explorer\iexplore www.gmail.com"
Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "test@gmail.com"
Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("html id:=Passwd"). Set "test123"
Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebButton("value:=Sign in").Click

No comments:

Post a Comment