Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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")

  • Moderators
Posted

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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...