Dim wShell
Dim IE
Set IE = CreateObject("InternetExplorer.Application")
set wShell= WScript.CreateObject("WScript.Shell")
IE.Navigate "http://localhost/"
IE.Visible = True
Wscript.Sleep 6000
IE.Document.All.Item("Username").Value = "m10623"
IE.Document.All.Item("Password").Value = "Swetha03"
wShell.AppActivate "IE"
wShell.SendKeys "{ENTER}"
--I am getting following error please help me out
---------------------------
Windows Script Host
---------------------------
Script: D:\Documents and Settings\m10688\Desktop\How to run acc.vbs
Line: 10
Char: 1
Error: Object required: 'Document.All.Item(...)'
Code: 800A01A8
Source: Microsoft VBScript runtime error
---------------------------
OK
---------------------------