I want to open a webpage in internet explorer and navigate to a page and click on a button in the page using vbscript. For example
- i I want to open IE and navigate to "http://www.gmail.com",
- wait for the page to load,
- and fill the username and password into the username and password text boxes and hit the sign in button using VB script.
This was the only thing i could find (only to open a page in IE ) :
Set WshShell = WScript.CreateObject("WScript.Shell")
Return = WshShell.Run("iexplore.exe www.gmail.com", 1)
please help me out.