10-21-2011, 12:35 AM
hi
'vimal singh'
try with this one it going to work
'vimal singh'
try with this one it going to work
Code:
Set IE = CreateObject("InternetExplorer.Application")
IE.visible = True
IE.Navigate "www.hotmail.com"
wait (2)
browser("creationtime:=.*").page("title:=.*").Link("name:=Gmail").Click
browser("creationtime:=.*").page("title:=.*").webEdit("name:=Email").Set "uid"
browser("creationtime:=.*").page("title:=.*").webEdit("name:=passwd").Set "pwd"
browser("creationtime:=.*").page("title:=.*").WebButton("name:=Sign in").Click
browser("creationtime:=.*").page("title:=.*").Link("name:=Compose Mail").Click
browser("creationtime:=.*").page("title:=.*").webEdit("name:=to").set "sample@gmail.com"
browser("creationtime:=.*").page("title:=.*").webEdit("name:=subject").Set "sample mail"
browser("creationtime:=.*").page("title:=.*").WebEdit("name:=body").Set "hi dear how are u ?"
browser("creationtime:=.*").page("title:=.*").WebButton("text:=Send").Click