my status quo is, that the form of the login page gets filled out, but after submitting the form, the internet explorer stays somewhere and does not enter the portal.
my code is this
i should add, the i guess my login-page is in jsp format. i think it has to do something with the fact that i use the post-method too. i could not find any advice in google.
my code is this
Code:
Dim ie As Object
Dim lform As Object
Set ie = CreateObject("internetexplorer.Application")
ie.Navigate2 "[URL]https://www.someurl.com/register.do?targetUrl=%2Fhome.do[/URL]"
Do Until ie.ReadyState = 4
DoEvents
Loop
ie.Visible = True ' optional
Set lform = ie.Document.forms(0)
With lform
lform("email").Value = [EMAIL="john.doe@gmail.com"]john.doe@gmail.com[/EMAIL]
lform("password").Value = "john1"
lform.submit
End With
i should add, the i guess my login-page is in jsp format. i think it has to do something with the fact that i use the post-method too. i could not find any advice in google.