I'm trying to automate some of my daily routine and came across "Windows Script Host". I'm very new to wsh and I do not know its limits. At the moment I have code that writes to a text box both user name and password then click the 'ok' to submit.
The next step is, the page that appears after logging in I would like to trigger a click event on a hyperlink. I've been at this for a day or two but I do not seem to be able to find a clear cut answer.
<A class="SIMainTabText" href="" onClick="onTabClick('reports',getForm(this)); return false;">Inv Sys Requests</a>
ie = WScript.CreateObject("InternetExplorer.Application","ie_")
ie.Visible = true;
ie.document.all.item("login").value = "username";
ie.document.all.item("password").value = "password";