ssuser 0 Posted August 23, 2011 I have windows authentication on a website which I am trying to login. When I run my Auto IT script first time on that website, the pop up for authentication comes, but the details are not enetered and the script stops working. If I cancel the login pop up and runt he script again without compiling the script again, it runs smoothly. It logs in successfully and does the desired tasks. But why doesn't the script run at first go. Please help!! Thanks Share this post Link to post Share on other sites
JohnOne 1,603 Posted August 24, 2011 1) What Script? 2) How is this Autoitx related? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
ssuser 0 Posted August 24, 2011 1) What Script?2) How is this Autoitx related?Sorry, I am just a very beginner in Auto IT, so I am not sure how it is realted to Autoitx.The scripts goes like this:$oIE = _IECreate ("website name")WinWait("title of the pop up")--Thisis where credentials have to be givenSend("username")Send("{tab}")Send("password")Send("{tab}{tab}")send("{ENTER}") Thanks for responding. Share this post Link to post Share on other sites
ssuser 0 Posted August 24, 2011 Sorry, I am just a very beginner in Auto IT, so I am not sure how it is realted to Autoitx. The scripts goes like this: $oIE = _IECreate ("website name") WinWait("title of the pop up")--Thisis where credentials have to be given Send("username") Send("{tab}") Send("password") Send("{tab}{tab}") send("{ENTER}") Thanks for responding. I even tried using COntrol Send. I couldnt get it to working. WinActivate("Connect to") ControlSend("Connect to","","[CLASS:Edit; INSTANCE:2]","username") ControlSend("Connect to","","[CLASS:Edit; INSTANCE:3]","PAssword") ControlClick("Connect to","","OK") Share this post Link to post Share on other sites
JohnOne 1,603 Posted August 24, 2011 Try WinWaitActive AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
ssuser 0 Posted August 24, 2011 TryWinWaitActiveJust tried. Not working with this also. Share this post Link to post Share on other sites
SmOke_N 211 Posted August 24, 2011 Let's squash this. You need to provide more ( much more ) detail. Create a reproducer script that isn't working, and provide a site it can be seen/worked on. Anything else, and it's the blind leading the blind. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Share this post Link to post Share on other sites