Sign in to follow this  
Followers 0
baldspot

Entering Username nad Password

4 posts in this topic

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

Share this post


Link to post
Share on other sites



Url seems bad...Posted Image


AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Share this post


Link to post
Share on other sites

Got it working - was sending the text incorrectly.

thx

Share this post


Link to post
Share on other sites

could you post what you found out. It would greatly appreciate

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