Sign in to follow this  
Followers 0
bsudhir6

Unable to Automate HTTP Proxy Authentication

3 posts in this topic

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....

Share this post


Link to post
Share on other sites



Welcome to the forum :thumbsup:

//User name  is no valid expression nor a valid comment.

Please show your running script in autoit tags.


My UDFs, Abbrevs and Snippets
If you like my post, just click the like button :) 

Share this post


Link to post
Share on other sites

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

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