dimanche 1 mai 2016

VBScript Checkbox is not being verified when submitting the form

I programmed VBS to check the checkbox and click submit button, but does not take it to the next step as it can be seen in below picture.. !(http://ift.tt/1O90JG0) And here is my VBScript

Dim IE
Dim Helem

Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = 1 
IE.navigate "http://ift.tt/1W2fJOc"
Do While (IE.Busy)
WScript.Sleep 1000
Loop
IE.document.getElementByID("declare_reg").Checked = true
WScript.Sleep 1000
For Each btn In IE.Document.getElementsByTagName("input")
If btn.type = "submit" Then btn.Click()
Next




Aucun commentaire:

Enregistrer un commentaire