+91 9790664230
kumar.arun211@gmail.com

Author: admin

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

File upload using Python Selenium Webdriver

We have seen how to download file using Python Selenium Webdriver in this article. File upload is also frequently used use case in automation testing and in this article, lets learn how to upload a file using Python Selenium Webdriver. We use the same file upload sample page that we used for our Java example…
Read more

Working with file upload using Java Selenium WebDriver

We have seen how to download file in selenium in this article. Like file download scenario, file upload is also frequently used use case in automation testing. In this article, lets learn how to upload a file using Java Selenium Webdriver. For python example, visit our article. Sample HTML: <!DOCTYPE html> <html> <body> <form action=”**”>…
Read more

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

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy