Hi All can anybody provide me a VBscript that opens a URL in a new browser window and access the controls(like textboxes,images) etc values..so that i have to enter new values into that page Thanks & Regards Kalyan
[kalyan] wrote-: > Hi All > > can anybody provide me a VBscript that opens a URL in a new browser > window and access the controls(like textboxes,images) etc values..so > that i have to enter new values into that page > You can use InternetExplorer.Application object. Untested: Set ie=CreateObject("InternetExplorer.Application") ie.visible=true ie.navigate "http://www.google.com" do until ie.readyState=4 wscript.sleep 100 loop set doc=ie.document set searchbox=doc.getElementsByName("q").item(0) searchbox.value="test" searchbox.form.submit Good Luck, Ayush. -- XP-Tips & Tricks [Use keyboard shortcuts] : http://www.microsoft.com/windowsxp/using/setup/tips/kbshortcuts.mspx