ssuser Posted August 23, 2011 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
JohnOne Posted August 24, 2011 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.
ssuser Posted August 24, 2011 Author 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.
ssuser Posted August 24, 2011 Author 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")
JohnOne Posted August 24, 2011 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.
ssuser Posted August 24, 2011 Author Posted August 24, 2011 TryWinWaitActiveJust tried. Not working with this also.
Moderators SmOke_N Posted August 24, 2011 Moderators 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.
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