Handling ElementNotVisibleException And Element Is Not Clickable Exception In Selenium

Hello Folks, In this post, we will learn how to handle “ElementNotVisibleException ” and “Element is not clickable exceptions”. While running Selenium scripts, sometimes we face below exceptions: “org.openqa.selenium.WebDriverException: unknown error: Element is not clickable at point (242, 845). Other element would receive the click” “org.openqa.selenium.ElementNotVisibleException: Element is not currently visible and so may not be

Read More

How To Locate Web Element Which Has Multiple Class Names

Hello Folks, Recently I learnt new thing so just wanted to share with you. We will see how to locate web elements which has multiple class names as html attribute. See carefully below html code: You will see “CLASS” attribute which has value as “required_field cityPadRight ac_input“. Actually above web element has multiple class name

Read More

JavaScript Way To Handle Calendar In Selenium

Hello Folks, In last two posts we have seen handling different types of calendars: Handling Calendar Which Has Year & Month As Drop down In Selenium How To Handle Different Types Of Calendars In Selenium: Part 1 If you notice, You need to write a lengthy code to handle calendars in selenium. Is there any

Read More

Capturing Screenshot Using Robot Class In Selenium

Hello Folks, In last post we have seen Taking Screenshot Using TakesScreenshot Interface In Selenium. I have explained about its drawbacks as well. Drawbacks of using TakesScreenshot interface for taking screenshot in selenium: It will not take screen shot when an alert is open.  It will give you an exception stating “org.openqa.selenium.UnhandledAlertException”. It takes screenshot of visible area of

Read More

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.