JMeter – How To Add Grafana Real Time Results In Jenkins Build Description

Overview: Testautomationguru already has released few detailed articles on creating real time results during Performance Testing. If you have not read them before, I would suggest you to check them out first. JMeter Real Time Results – Basic Setup JMeter Real Time Results – Advanced Setup for multiple projects JMeter – Server Performance Monitoring JMeter […]

Selenium WebDriver – How To Execute Tests In Multiple Environments

Overview: I have been running thousands of automated regression test cases in multiple test environments for years. As part of CI / CD pipeline, I run the tests in QA, UAT, Staging and PROD. In this article, I would like to show you the approach I follow to make the tests run on any given test

Selenium WebDriver – How To Execute Tests In Multiple EnvironmentsRead More »

Selenium WebDriver – Creating A Simple Keyword-Driven Framework Using Java Lambdas

Overview: In this article, I would like to show you a simple keyword-driven framework using Java8. Please do note that this article will not cover all the possible keywords. My aim here is  just to give you an idea how we could use Java – lambdas. Java 8: Java-8 has introduced a lot of cool

Selenium WebDriver – Creating A Simple Keyword-Driven Framework Using Java LambdasRead More »

Ocular – Automated Visual Validation for Selenium WebDriver Test Automation Frameworks

Overview: Visual Validation is a process of validating the visual aspects of an application’s user interface – Verifying each element in the application is appearing exactly in the same size, color, shape etc. Lets say, your application has charts to represent some data to the end user, how can we verify if the chart is

Ocular – Automated Visual Validation for Selenium WebDriver Test Automation FrameworksRead More »

Selenium WebDriver – How To Automatically Switch Among Browser Windows

Overview: One of the common challenges we face while automating our tests is – switching between open windows. Many of us would have seen the code as shown below. // get the current window handle String parentHandle = driver.getWindowHandle(); for (String handle: driver.getWindowHandles()) { if (!parentHandle.equals(handle)) driver.switchTo().window(handle); } There is nothing wrong in the above code

Selenium WebDriver – How To Automatically Switch Among Browser WindowsRead More »

Selenium WebDriver – Disposable Selenium Grid Infrastructure Setup using Zalenium

Overview: We already have seen the challenges related to setting up the Selenium Grid infrastructure and how docker helps us in setting up a flexible/disposable/highly scalable selenium grid within few seconds in these articles below. Docker – Selenium Grid Setup Arquillian Cube – Managing Dockerized Selenium Grid In this article, We will see how Zalenium

Selenium WebDriver – Disposable Selenium Grid Infrastructure Setup using ZaleniumRead More »

Selenium WebDriver – Managing Selenium Grid Infrastructure using Arquillian Cube

In the previous article, we saw how easily we could set up the selenium-grid infrastructure using docker. By using docker-compose file, we can setup the containers for the selenium grid. Then we can start our automated functional tests using the grid. Once the execution is done, we can issue a simple command to bring the entire selenium

Selenium WebDriver – Managing Selenium Grid Infrastructure using Arquillian CubeRead More »

Selenium WebDriver – How To Create A Disposable Selenium Grid Infrastructure using Docker

Selenium Grid – Overview: Selenium Grid is used to run our tests on different OS/browsers in parallel. It basically uses master-slaves (or hub-nodes) concept – where there is one master/hub and there are few slaves/nodes registered to the master/hub. When we send our tests to the master/hub for execution, based on the browser/OS requirements of

Selenium WebDriver – How To Create A Disposable Selenium Grid Infrastructure using DockerRead More »

Selenium WebDriver – Design Patterns in Test Automation – Template Method Pattern

Overview: As a software engineer, We all face some errors/exceptions while writing code! So what do we do when we face such a problem? If we are not sure, We google for solutions immediately. Don’t we? We google because we know that we would not be alone and someone would have already found the solution, for the

Selenium WebDriver – Design Patterns in Test Automation – Template Method PatternRead More »

Selenium WebDriver – How To Inject Page Object Dependencies Using Guice

Overview: In this article, we will see the use of Dependency Injection using Guice lib and how it helps us to come up with more readable, reusable page objects and tests. Dependency Injection: Lets this consider this simple Page Object for Google page. public class Google { private final WebDriver driver = new ChromeDriver(); public

Selenium WebDriver – How To Inject Page Object Dependencies Using GuiceRead More »