+91 9790664230
kumar.arun211@gmail.com

Author: admin

Blog to learn python and selenium

How to wait for elements in Python Selenium WebDriver

We all know and experimented that Selenium WebDriver can interact with web browser and simulate user actions. User actions could be click, select, type etc.. or combinations of these actions. However most of the user action requires some kind of wait before performing it. Reasons could be many, including but not limited to below. Page…
Read more

Selenium-Docker: Parallel execution made easy

Selenium Grid supports distributed test execution and allows running tests on different machines against different browsers in parallel. This reduces execution time from days to hours. However Selenium Grid setup and maintenance requires effort and has its own limitations. User needs to install browsers manually as required User needs to ensure proper selenium libraries are…
Read more

Source Code Analysis testing technique Using SonarQube

Source code analysis is also a software testing technique that can be used to scrutinize all code paths and data flows that a program will execute; It can be either static or dynamic. In static analysis, debugging is done by examining the code without actually executing the program. This can reveal errors, security vulnerabilities, poorly…
Read more

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

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy