Jump to content
Sign in to follow this  

Login button doesnt recognize non-empty value set by _IEFormElementSetValue

Recommended Posts


I am trying to set up a simple login script with AutoIT to work with VMware ESXi.

The web page simply has username and password fields as well as a login button.

I have no issues setting the text into the two fields by use of _IEFormElementSetValue ($username, "blablabla")

But the login button remains disabled; therefore i cannot click it.

If i manually type a space or any character into the text boks where "blablabla" is already put in, the button is enabled.

It is as if the inputted text is not recognized and still being evaluated as empty.

In the html code the button looks like this:

<input id="submit" class="button blue" type="submit" value="Log in" ng-disabled="credentials.username === '' ||
                  loggingIn" disabled="disabled">

Anyone knows why this happens and how to handle this?



Share this post

Link to post
Share on other sites

@lazerpld it is great you resolved your issue (you could also have just used PowerCLI). In the future however, please pay attention to where you post. The DEV forum very clearly states:


Do not create AutoIt-related topics here, use AutoIt General Help and Support

Thread moved to the appropriate forum.

√-1 2^3 ∑ π, and it was delicious!

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