The common issues that could be faced while automating IE Browser using Selenium are discussed below. One should ensure these settings set before the start of the automation.
Exception we would see in console is : Unexpected error launching Internet Explorer. Browser zoom level was set to 75%
3. SendKeys() entering text very slow: This issue can faced when working with 64-bit IE Driver but not all the time. The solution to this problem is replacing 64-bit IE Driver with 32-bit IE Driver. And it is doesn't matter whether the OS is 32-bit or 64-bit.
1. Protected Mode Settings: Protected Mode must be set to the same value (enabled or disabled) for all zones under security tab in Internet Options. Find the screen shot attached.
Exception we would see in console when the settings are not properly:
org.openqa.selenium.WebDriverException: Unexpected error launching Internet
Explorer. Protected Mode must be set to the same value (enabled or disabled) for all
zones.
Exception we would see in console is : Unexpected error launching Internet Explorer. Browser zoom level was set to 75%
3. SendKeys() entering text very slow: This issue can faced when working with 64-bit IE Driver but not all the time. The solution to this problem is replacing 64-bit IE Driver with 32-bit IE Driver. And it is doesn't matter whether the OS is 32-bit or 64-bit.
Thanks for providing the information . The articles in your blog helped me a lot for improving the knowledge on the subject. Also check my small collection on this at selenium Online Training Hyderabad blog
ReplyDelete