+91 9790664230
kumar.arun211@gmail.com

Selenium Blog

Blog to learn python and selenium

Read data from excel in python scripts

We often encounter scenarios where we have to read data from excel file stored. In this article, let’s see how we can read data from a xls(Excel) file and use the data in our Python scripts. At the end of this article, you will learn how to open a xls file, read data from a…
Read more

Gradle Project Source Code Analysis 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

Test Data Management for quality testing

All kind of testing techniques requires test data and we need to have an effective test data management system and process for efficient and quality delivery of application. Before going to test data management, let’s see what is test data. What is Test Data? Test data is the data that is used in tests to…
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

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy