bsudhir6 Posted October 14, 2014 Share Posted October 14, 2014 Hi, I have prepared script to autmate HTTP proxy authentication in FireFox web browser. how ever it is not working. after executing first send function with user name and then when executing second send function it's losing focuson firefox and opens file explorer & internet explorer and stops the script. So I am ending up seeing credentials were entered in firefox authentication window but it's not clicking Okay ( I mean using ENTER in the script) not sure why it's opening file explorer & Internet explorer here is my script: *-------------------------- Run("firefox.exe www.google.com") Sleep(10000) WinActivate("Authentication Required") Send("*****{TAB}") //User name Send("******{TAB}{ENTER}")//Password Exit *--------------------------- Please help me out here.... Link to comment Share on other sites More sharing options...
Exit Posted October 14, 2014 Share Posted October 14, 2014 Welcome to the forum //User name is no valid expression nor a valid comment. Please show your running script in autoit tags. App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
bsudhir6 Posted October 14, 2014 Author Share Posted October 14, 2014 Following is the correct script user names and passwords are hidden with**** Run("firefox.exe www.google.com") Sleep(10000) WinActivate("Authentication Required") Send("*****{TAB}") Send("******{TAB}{ENTER}") Exit After running this script I see that file explorer and internet explorer were getting opened up after credentials were entered by script when running ending up with no authentication. Please help Link to comment Share on other sites More sharing options...
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