Sign in to follow this  
Followers 0
ssuser

AUtoIT - Not working with Windows Authentication PopUp

7 posts in this topic

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



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 given

Send("username")

Send("{tab}")

Send("password")

Send("{tab}{tab}")

send("{ENTER}")

Thanks for responding.

Share this post


Link to post
Share on other sites

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

Try

WinWaitActive

Just tried. Not working with this also.

Share this post


Link to post
Share on other sites

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

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