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. 

2 comments:

  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
  2. I am glad that I saw this post. It is informative blog for us and we need this type of blog thanks for share this blog, Keep posting such instructional blogs and I am looking forward for your future posts. Python Projects for Students Data analytics is the study of dissecting crude data so as to make decisions about that data. Data analytics advances and procedures are generally utilized in business ventures to empower associations to settle on progressively Python Training in Chennai educated business choices. In the present worldwide commercial center, it isn't sufficient to assemble data and do the math; you should realize how to apply that data to genuine situations such that will affect conduct. In the program you will initially gain proficiency with the specialized skills, including R and Python dialects most usually utilized in data analytics programming and usage; Python Training in Chennai at that point center around the commonsense application, in view of genuine business issues in a scope of industry segments, for example, wellbeing, promoting and account. Project Center in Chennai

    ReplyDelete

Selenium4: Working with two parallel windows in Selenium Automation

A new method newWindow() is introduced in Selenium 4 (Alpha). Using this method we can open a new tab or new window from the current window...