I want to fill the web-page fields by entering some values and submit it automatically.
I tried using vbscript, all works fi开发者_运维问答ne, but SendKeys {"ENTER"} doesn't work when windows is locked. I want to run the script at scheduled time. ( Which i can manage through WIN Scheduler).
Browser is IE 6 on WIN XP.
Thanks!
I would suggest using Visual Basic, and not VBScript, to automate Internet Explorer. If you can't make the post directly to the server (i.e. skip the browser completely and just do an HTTP post), you will have better luck using the IE web control in Visual Basic and navigating it's DOM.
精彩评论