+91 9790664230
kumar.arun211@gmail.com

Selenium Blog

Blog to learn python and selenium

How to increase ROI with Automation Testing

How does Automation Testing helps us to increase ROI? What are the facts that can help the business to reduce the cost of operations and improve the ROI? Let’s look at the top 7 factors of Automation Testing which will help us to achieve the above facts. Consumable Test Results Test results should be consumable…
Read more

how to handle Stale Element Reference Exception in Python Selenium

A stale element reference exception is thrown in one of two cases: The element that we are trying to interact 1. has been deleted entirely 2. no longer attached to the DOM First cause is more common than the second one. We have reference to an element that has been deleted or changed in wep…
Read more

Python selenium commands cheat sheet

Frequently used python selenium commands – Cheat Sheet To import webdriver module in python use below import statement from selenium import webdriver Driver setup: Firefox: firefoxdriver = webdriver.Firefox(executable_path=”Path to Firefox driver”) To download: Visit GitHub Chrome: chromedriver = webdriver.Chrome(executable_path=”Path to Chrome driver”) To download: Visit Here Internet Explorer: iedriver = webdriver.IE(executable_path=”­Pat­h To­ IEDriverServer.exe”) To download:…
Read more

Java selenium commands cheat sheet

Frequently used java selenium commands – Cheat Sheet Visit python selenium commands cheat sheet here. Driver setup: Firefox: System.se­tPr­ope­rty­(“we­bdr­ive­r.g­eck­o.d­riv­er”, “­Pat­h To­ g­eck­odr­ive­r”); To download: Visit GitHub Chrome: System.se­tPr­ope­rty­(“we­bdr­ive­r.chrome.d­riv­er”, “­Pat­h To­ chromedr­ive­r”); To download: Visit Here Internet Explorer: System.se­tPr­ope­rty­(“we­bdr­ive­r.ie.d­riv­er”, “­Pat­h To­ IEDriverServer.exe”); To download: Visit Here Edge: System.se­tPr­ope­rty­(“we­bdr­ive­r.edge.d­riv­er”, “­Pat­h To­ MicrosoftWebDriver.exe”); To download: Visit Here Opera:…
Read more

Execute Python Selenium tests in Selenium Grid

In this blog post, let’s see how can we execute Python selenium tests in Selenium Grid. Before moving to python selenium test setup, let us understand what is selenium Grid and how to start it. What is Selenium Grid? Selenium-Grid allows you run your tests on different machines against different browsers in parallel. That is,…
Read more

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

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy