Hi
I am trying to create Descriptive program for open gmai and enter username password.
Could you tell me how can i wirte the descriptive program for login a gmail page.
Ans:
Code:
systemutil.Run "iexplore.exe", "www.gmail.com"
browser("micclass:=browser").page("micclass:=page").WebEdit("name:=Email").Set "abcdd"
browser("micclass:=browser").page("micclass:=page").WebEdit("name:=Passwd").Set "bnghhj"
browser("micclass:=browser").page("micclass:=page").WebButton("name:=Sign in").Click
Note: Make sure that fast close all active browser bcoz i hav given browser("micclass:=browser").so if more than one browser is opened then it can not identify..If u want u can change the property value of browser and can giv browser("name:=Gmail: Email from Google").page("name:=Gmail: Email from Google")..By using dis no need to close other browser.
Requesting Everyone to please wrap your code in proper tags, while posting
refer
Help