Sign in to follow this  
Followers 0
Danyiel92

_IEFormElementSetValue I`m New Here

3 posts in this topic

#1 ·  Posted (edited)

Failed :(

#include <IE.au3>
$oIE = _IECreate ("http://ggmclan.omgforum.net/login.forum?connexion")
$oForm = _IEFormGetObjByName ($oIE, "Log in")
$oText = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oText, "Admin")

Hey, I`m New Here.

Can anyone tell me what is the problem here?

"Admin" Does not appear in "username" form

Edited by Danyiel92

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Yo,

you were using the wrong form name in your code.

#include <IE.au3>
$oIE = _IECreate ("http://ggmclan.omgforum.net/login.forum?connexion")
$oForm = _IEFormGetObjByName ($oIE, "form_login") ; changed this line
$oText = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oText, "Admin")
Edited by Steveiwonder

They call me MrRegExpMan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0