Tuesday, 22 August 2017

How to handle window Authentication Popup using Selenium WebDriver?

In this post, we learned how to handle the window authentications using selenium webDriver. Most of the companies are using this technique to enhance the security of its application. In that case, just before the launch of the application, an authentication pop up come to ask the authorized username and password. HTTP Authentication is the technique to resolve this problem using selenium.


How to implement HTTP Authentication using Selenium WebDriver


You need to append the username and password with the application URL to handle the window authentication pop up.




By using the above URL window authentication pop up will by pass and you can successfully automate that type of situation without any hurdle.


Imp:- You no need to make any changes in the system configuration other that IE browser.
For IE you need to make some changes to overcome the HTTP security of IE browser

Below are the steps to do so:-

For 32 bit OS:
Go to ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE‘
Create two new DWORDS iexplore.exe and explorer.exe and make sure their values are 0.
For 64 bit OS:
Go to ‘HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_HTTP_USERNAME_PASSWORD_DISABLE‘
Create two new DWORDS iexplore.exe and explorer.exe and make sure their values are 0.

Thanks, for reading my post. Please do comment in case of any query

Labels: ,

1 Comments:

At 29 August 2020 at 22:45 , Blogger johnabraham said...

Furniture is a thing that we in general need in our home or workplace. Smarthome Maharashtra

 

Post a Comment

Subscribe to Post Comments [Atom]

<< Home