esak2000
asked on
Foxpro InternetExplorer.Application object
I use the InternetExplorer.Applicati on object to automatically sign into Yahoo
The following code has been working for a few year on Internet Explorer version 8,
but when I upgraded to version 9 it no longer works. The user name and password fill the text boxes, but the submit button doesn't 'click' to submit the form. I also tried oIE.Document.login_form.cl ick which until now also works, but for Internet Explorer 9 and above, it doesn't:
The following code has been working for a few year on Internet Explorer version 8,
but when I upgraded to version 9 it no longer works. The user name and password fill the text boxes, but the submit button doesn't 'click' to submit the form. I also tried oIE.Document.login_form.cl
oIE.Document.login_form.username.value="myUserName"
oIE.Document.login_form.passwd.value="myPassword"
oIE.Document.login_form.submit
ASKER
As expressed in my original post, I also tried the click method, but that didn't work either.
Thank you for the best practice comment.
Thank you for the best practice comment.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try this:
oIE.Document.login_form.it em(".save" ).click("" )
and you may play with Click parameters probably.
oIE.Document.login_form.it
and you may play with Click parameters probably.
oIE.Document.login_form.su
BTW, to store passwords in the app code isn't good security practice. Users should fill passwords manually and then press the appropriate button.