While running tests in webdriver using internet explorer i got the following error.
org.openqa.selenium.WebDriverException: Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information)
The reason for this is in Internet Explorer Protected Mode must be set to the same value (enabled or disabled) for all zones.
See the below image to understand this line.
To handle this error:
Go to Internet explorer---Click the setting gear icon----Internet Options---Security Tab
Check Enable Protected mode for all zones like Local Intranet, Trusted sites and Restricted sites.
Also, we have to Update the security level to low.
After doing the above setting you can easily run tests using internet explorer.
org.openqa.selenium.WebDriverException: Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information)
The reason for this is in Internet Explorer Protected Mode must be set to the same value (enabled or disabled) for all zones.
See the below image to understand this line.
To handle this error:
Go to Internet explorer---Click the setting gear icon----Internet Options---Security Tab
Check Enable Protected mode for all zones like Local Intranet, Trusted sites and Restricted sites.
Also, we have to Update the security level to low.
After doing the above setting you can easily run tests using internet explorer.
thanks sir for the info.
ReplyDeleteCan you also post something on selenium grid as well
How other browsers like firefox and chrome ??
ReplyDeleteThanks in advance
Does your site have a contact page? I'm having a tough time locating it but, I'd like
ReplyDeleteto send you an e-mail. I've got some recommendations for your blog you might be interested in hearing. Either way, great site and I look forward to seeing it grow over time.
Also visit my website :: how to play piano
I could not resist commenting. Well written!
ReplyDeleteHere is my webpage :: www.youtube.com