AssertJ Custom Assertions For Selenium WebDriver

Overview: In this tutorial, I would like to show you how to create use AssertJ Custom Assertions for Selenium tests. AssertJ: AssertJ is a simple assertion library for Java using which assert statements can be written in fluent style. Fluent APIs make your code readable and easily maintainable. We already have seen few articles on […]

Selenium WebDriver – How To Generate Test Data Using JFairy

Overview: One of the challenges in software testing is to come up with test data to more or less look like real data. Often test automation engineers overlook the importance of test data in their test script. For example, They tend to write scripts like entering firstname1, lastname1 etc for the first name and last name fields.

Selenium WebDriver – How To Generate Test Data Using JFairyRead More »

Selenium WebDriver – How To Improve Test Performance Using Java8 Stream

Overview: What do we normally do to reduce the overall test execution time once you have hundreds of automated tests in our regression suite? Mostly we all go for spinning up multiple VMs to run our automated tests in parallel or we would increase thread count for parallel execution in a single VM. Don’t we?

Selenium WebDriver – How To Improve Test Performance Using Java8 StreamRead More »

Selenium WebDriver – Real Time Test Execution Results Using Elasticsearch & Kibana

Overview: Running automated regression on a daily basis as part of daily build is inevitable nowadays! It is cool to find & report the issues as soon as they are introduced. But it is very painful to maintain hundreds of automated tests & remote parallel execution! Once you have a huge automated regression test suite in place,

Selenium WebDriver – Real Time Test Execution Results Using Elasticsearch & KibanaRead More »

Selenium WebDriver – Design Patterns in Test Automation – Chain Of Responsibility Design 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

Selenium WebDriver – Design Patterns in Test Automation – Chain Of Responsibility Design PatternRead More »

Selenium WebDriver – File Downloads & Uploads Using Docker Grids

Overview: TestAutomationGuru has released few articles on using docker for Selenium Grids & to run your automated inside the docker containers. This approach has a lot of advantages like saving your time from setting up your remote/cloud machines & dealing with dependency related issues. It is easily scalable as well! If you have not read below

Selenium WebDriver – File Downloads & Uploads Using Docker GridsRead More »

Selenium WebDriver – Design Patterns in Test Automation – Decorator Design 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

Selenium WebDriver – Design Patterns in Test Automation – Decorator Design PatternRead More »

Selenium WebDriver – Design Patterns in Test Automation – Proxy 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

Selenium WebDriver – Design Patterns in Test Automation – Proxy PatternRead More »

Selenium WebDriver – How To Handle Annoying Random Popup / Alerts

Overview: In this article, Lets see how we could handle random popups / alerts / ads / some unexpected conditions & how we could recover from that. Udemy – Java 8 and Beyond for Testers: TestAutomationGuru has released a brand new course in Udemy on Java 8 and Beyond for Testers. 12 hours course with java latest features, lambda, stream,

Selenium WebDriver – How To Handle Annoying Random Popup / AlertsRead More »

Selenium WebDriver – How To Design Hybrid Framework in TestNG

Overview: As an automation test engineer, you might have noticed that some of our test steps get repeated very often in multiple tests.  In such cases, designing the tests in a such a way that it could be reused in multiple workflow is very important. Re-usability allows us to be more efficient & to write

Selenium WebDriver – How To Design Hybrid Framework in TestNGRead More »