+91 9790664230
kumar.arun211@gmail.com

Selenium Blog

Blog to learn python and selenium

Code coverage analysis in software testing

Code coverage analysis in software testing. What is it? To measure what percentage of code or how many lines of code has been exercised by a test suite. This can be measured using following formula: Code coverage = (Number of lines of code exercised)/(Total Number of lines of code) * 100 How it helps? Helps…
Read more

API tests automation – Why it is important

Why API tests automation should be considered over GUI test automation? * Automating API tests takes less time to develop and helps team to achieve testing in the speed of agile. * Automated API tests executes faster than GUI tests and helps team to get results quickly. * Well defined automated API tests are easy…
Read more

Selenium headless mode tests on Chrome and Firefox

In this short article lets experiment on how users can run Selenium headless tests on Chrome and Firefox browser headless mode. Before Selenium headless browser usage, user should know browser options that Selenium provides. Below is brief introduction. Options in Chrome and Firefox browser provides mechanism that we can use to customize and configure a…
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

Test Execution in Chrome using Python Selenium

In this post, we are going to try test execution in Chrome browser and load URLĀ of our choice. Note: For Firefox Test Execution, Please check here Method 1 Steps to be followed are same as Firefox. Only the instance will change from Firefox to Chrome Step 1: Import webdriver module. The selenium.webdriver module provides support…
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

Capture screenshot of an Element using Python Selenium WebDriver

In this post, we explored how to capture Screenshot in Python Selenium Webdriver. Sometimes we may just want to capture a part of the page, just on specific element based on ID, or any specific element locator. For example, we would like to capture the logo in Google page with id = “hplogo” Selenium WebDriver…
Read more

Taking Screenshot using Python Selenium WebDriver

Hello, welcome to Python Selenium tutorials and in this post let’s see how to capture Screenshot in Python Selenium Webdriver Ability to take screenshots is most important and desirable feature for bug analysis. Sometimes, apart from bug analysis, one may want to capture screenshots to see the flow of test steps. Screenshots help automation testers…
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

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy