Jump to content

Handle authentication pop-up in headless mode.


xnkpx
 Share

Recommended Posts

Hi guys,

I read through this topic and notice that we have couple of problem with executing AutoIT script in headless mode. Sadly, I am encountering the same issue when trying to handle the authentication pop-up with AutoIT script. It works flawlessly in normal mode. But the problem happens when we try to run the test in headless mode. This is required because we are moving our test into TeamCity.

Our authentication pop-up is similar to this page: http://the-internet.herokuapp.com/basic_auth

I've been searching for better solution but I find no way out. Any solution or idea is much appreciated!

Thanks guys!

Phung - The Tester

Link to comment
Share on other sites

5 hours ago, xnkpx said:

better solution

What solution do you have currently? Can we some code to see where you are currently? My first idea is to use the WebDriver UDF's _WD_Alert function

All my code provided is Public Domain... but it may not work. ;) Use it, change it, break it, whatever you want.

Spoiler

My Humble Contributions:
Personal Function Documentation - A personal HelpFile for your functions
Acro.au3 UDF - Automating Acrobat Pro
ToDo Finder - Find #ToDo: lines in your scripts
UI-SimpleWrappers UDF - Use UI Automation more Simply-er
KeePass UDF - Automate KeePass, a password manager
InputBoxes - Simple Input boxes for various variable types

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