dkreviews Posted July 10, 2017 Posted July 10, 2017 My project using c# with selenium driver and hosted on iis server Google dropped support for passing windows credentials via URL and it broke a lot of automation for me. (username:password@www.url.com) https://www.chromestatus.com/feature/5669008342777856 I found solution using AutoItX dll which I added and it works fine when running in debug mode locally, but when deployed to web server it does not send key strokes. This is all the code I have specific to autoitx AutoItX.WinWaitActive(authenticateurl + " - Google Chrome", "", 10); AutoItX.WinActivate(authenticateurl + " - Google Chrome"); AutoItX.Send(AdminUsername + "{TAB}"); AutoItX.Send(AdminUserpass + "{ENTER}"); App pool is running using admin account. I also registered dll and no error is thrown. Any idea why AutoItX would not send keystrokes when deployed? I am sure there is some configuration I am missing on a web server. Thank you in Advance! P.s. I used this for reference http://learn-automation.com/handle-windows-authentication-using-selenium-webdriver/
dkreviews Posted July 13, 2017 Author Posted July 13, 2017 Any suggestions would be appreciated. I am out of ideas. Thank you
CarlosFrias Posted June 30, 2021 Posted June 30, 2021 Hi dkreviews, I'm having the exact same issue, have you ever managed to get it working? Kind regars, Carlos
Somerset Posted June 30, 2021 Posted June 30, 2021 Make a new thread next time, since it is 4 years old without a reply.
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