baldspot Posted October 1, 2010 Share Posted October 1, 2010 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 More sharing options...
wakillon Posted October 1, 2010 Share Posted October 1, 2010 Url seems bad... AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
baldspot Posted October 1, 2010 Author Share Posted October 1, 2010 Got it working - was sending the text incorrectly. thx Link to comment Share on other sites More sharing options...
jnkbcs Posted October 1, 2010 Share Posted October 1, 2010 could you post what you found out. It would greatly appreciate Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now