Jump to content

Entering Username nad Password


Recommended Posts

Hi All

I have the follwoing code that is desgined to log into a webpage. However, everytime I run the code I get an error msg inforing me that the credentials are incorrect.

The username is "happy" and the password is "days":

#include <IE.au3>

$IE = _IECreate("https://vwii.fortum.com/Production/Intra/auth/login.aspx")

_IELoadWait ($IE,3000)

Send("happy")

Send("{TAB}")

Send("days")

Send("{TAB}")

Send("{TAB}")

Send("{ENTER}")

I know the username and password is correct. So I can't understand when AutoIT enters the same detials, I get an error message. any ideas why this is happening

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...