+91 9790664230
kumar.arun211@gmail.com

Category: Webdriver

Blog to learn python and selenium

Browser driver management with WebDriverManager

In this article, we are going to leverage WebDriverManager by Boni Garcia to setup browser driver required to execute our tests. We all know that we need to have browser drivers, .exe files like chromedriver.exe and geckodriver.exe in case of windows environment or binary files like chromedriver and geckodriver in case of linux distributions, in…
Read more

Handling multiple windows in Python Selenium

There are many cases where handling multiple windows while working with a web application is required, either application navigates to or opens multiple windows and user has to perform operations in this new window. Those are may be advertisements or kind of information showing on popup windows such as terms & conditions,privacy policy or kind…
Read more

Working with file downloads in Python Selenium WebDriver

File download is nothing new and we often have to download files while executing automation tests. Python Selenium WebDriver is excellent in manipulating browser commands however lacks features to handle operating system native windows like automating file downloads. While automating use cases we often encounter scenarios to download files like Ms Excel file, MS word…
Read more

Test Automation: Reduce time to analyze and report failures

There are many basics expectations from automation testing framework like code re-usability, human readable report generation, easy maintenance etc… These are the expectations that are the widely discussed in every forum, blog and meet ups with few exceptions. However once we created framework with all expectations and starts using it in real time, there will…
Read more

Top 5 commonly encountered exceptions in Python Selenium WebDriver

1. NoSuchElementException selenium.common.exceptions.NoSuchElementException Base: selenium.common.exceptions.WebDriverException This exception can be imported as ‘from selenium.common.exceptions import NoSuchElementException’ This exception is raised or thrown when element could not be found. There could many possible reasons for this exception to occur 1. Element locator is not correct 2. Page is not yet loaded 3. Element is not yet displayed…
Read more

How to handle exceptions in Selenium Python WebDriver

An exception is an event, which occurs during the execution of a program, that disrupts the normal flow of the program’s instructions. Exception handling is not new and it is the process of responding to the occurrence of exceptions that may happen during execution of our program. For example, when we are trying to click…
Read more

Working with RadioButtons using Python Selenium Webdriver

Radio buttons are similar to checkboxes. But allows selection of only one value in a group of values. Radio button operation is easy to perform, we just need to find the radio button element using any one of the techniques explained here, and click on it. Radio button does not support deselection. To deselect a…
Read more

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy