Saturday, February 18, 2017

Common Issues in Selenium Automation with IE Browser

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.

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.



2. Browser Zoom Level:The Browser Level should be 100%.

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 comment:

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

Java Program 6: How to reverse a String in Java?

In this post we will discuss different methods to reverse a String in java programming. Method 1: Step 1: Read the input string using ...