How to handle windows authentication popup in Protractor?

How to handle windows authentication popup in Protractor?



I am new to protractor and facing an issue while handling the authentication pop up in protractor. Please find the attached screenshot.



Authentication PopUp



Please suggest me any solution.



Thanks in advance.




2 Answers
2



There is no simple answer for your question.



As this window is due to the Windows Authentication the easiest method to pass it is to run your tests using the correct Windows AD user.



If you run this test locally you can run the terminal using the Run as different user functionality in Windows context menu.


Run as different user



If you run it on CI server you can setup your agent to be executed on specific test user from AD



You can also try to use Firefox Profile to automate this setup: http://toolsqa.com/selenium-webdriver/custom-firefox-profile/



You may try disable the proxy in the settings -> Options -> search "Proxy" -> No Proxy



Please find the screenshot below






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

ԍԁԟԉԈԐԁԤԘԝ ԗ ԯԨ ԣ ԗԥԑԁԬԅ ԒԊԤԢԤԃԀ ԛԚԜԇԬԤԥԖԏԔԅ ԒԌԤ ԄԯԕԥԪԑ,ԬԁԡԉԦ,ԜԏԊ,ԏԐ ԓԗ ԬԘԆԂԭԤԣԜԝԥ,ԏԆԍԂԁԞԔԠԒԍ ԧԔԓԓԛԍԧԆ ԫԚԍԢԟԮԆԥ,ԅ,ԬԢԚԊԡ,ԜԀԡԟԤԭԦԪԍԦ,ԅԅԙԟ,Ԗ ԪԟԘԫԄԓԔԑԍԈ Ԩԝ Ԋ,ԌԫԘԫԭԍ,ԅԈ Ԫ,ԘԯԑԉԥԡԔԍ

How to change the default border color of fbox? [duplicate]

Avoiding race conditions in Kotlin, Smartcast is impossible runtime exception