Jump to content

Unable to Automate HTTP Proxy Authentication


 Share

Recommended Posts

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

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

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
 Share

  • Recently Browsing   0 members

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