vbscript - Login in to a web-based application using the "click" on VBS -


our company uses browser-based program business operations. goal able log system automatically. problem in front of me able click on 1 button using vbsript,

this code have far take me point i'm positioned on button:

set wshshell = wscript.createobject("wscript.shell")  call wshshell.run("http://timeclock/portal/welcome.htm", 1, false)  wscript.sleep 1000  wshshell.sendkeys "{enter}"  wscript.sleep 2000  wshshell.sendkeys "username"  wscript.sleep 1000  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "password"  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "{enter}"  wscript.sleep 2000  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "{tab}"  wscript.sleep 1000  wshshell.sendkeys "{enter}"  wscript.sleep 4000  wshshell.sendkeys "employeenumber"  wscript.sleep 1000  wshshell.sendkeys "{tab}" 


Comments

Popular posts from this blog

yii2 - Yii 2 Running a Cron in the basic template -

asp.net - 'System.Web.HttpContext' does not contain a definition for 'GetOwinContext' Mystery -

mercurial graft feature, can it copy? -