I'm trying to create a script that inputs ID, PW and then submits to a web form at this website. It seems I have the ID and pw fields populating but I am getting an error code 800A01A8 or 800a01b6 when trying to submit or click. I have no experience, I appreciate any help you may be able to provide.
Code:
Call Main
Function Main
Set IE = WScript.CreateObject("InternetExplorer.Application", "IE_")
IE.Visible = True
IE.Navigate "[URL unfurl="true"]https://intelliconnect.cch.com/scion/auth.jsp?disableAutoLogin=true&authcpid=WKUS-TAA-IC"[/URL]
Wait IE
With IE.Document
.getElementByID("vClasicLogin_UserId").value = "xxxxx"
.getElementByID("vClasic_LoginPassword").value = "xxxxxxxx"
.getElementByID("vClasicLogin").submit
End With
End Function
Sub Wait(IE)
Do
WScript.Sleep 500
Loop While IE.ReadyState < 4 And IE.Busy
End Sub