+91 9790664230
kumar.arun211@gmail.com

Category: Test Automation

Blog to learn python and selenium

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

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

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

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

© 2018 Copyrights. All Rights Reserved. Arunkumar Velusamy