Selenium WebDriver – Scriptless Page Object Design Pattern – Part 1

Overview: One of the applications I had automated had some unique functionality! The application helped the users to connect with different service providers! Users would be entering their preference in the application. The application would show list of service providers. Users could pick one from them and and fill out a specific form for the […]

Selenium WebDriver – Factory Design Pattern Using Java 8 – Supplier

Overview: We had already covered about Factory Design Pattern in detail here. If you had not read that before, I would suggest you to check that article first. In this article, We are going to follow slightly a different approach using Java8 lambda expressions. Advantage of using lambda expressions is to write only fewer lines

Selenium WebDriver – Factory Design Pattern Using Java 8 – SupplierRead More »

Selenium WebDriver – Multi-Factor Authentication – SMS

Overview: Multi-factor authentication is a security system which requires more than one authentication method to verify the identity. If your ‘application under test’ has that feature, It might be little bit challenging for you to automate the complete end-to-end flow. TestAutomationGuru has already covered EMail Validation in case if your application includes EMail auth method. We are assuming

Selenium WebDriver – Multi-Factor Authentication – SMSRead More »

Selenium WebDriver – EMail Validation With Disposable EMail Addresses

Overview: Some of our automated tests might require email validation. Your application might send a Welcome email / User registration confirmation with a link to activate the profile / a token to login as part of Multi-factor Authentication…etc.  Your aim could be to check if the email has received or extract some information like auth

Selenium WebDriver – EMail Validation With Disposable EMail AddressesRead More »

JMeter / Selenium WebDriver – How To Trigger Automated Test Execution From Slack

Overview: We use Slack in our organization. You might also be using Slack for communicating information among the team members in your org. Slack is a great tool and it keeps everyone up to date and reduces unnecessary emails. Particularly automated status, build notifications etc which might flood your inbox. I have already shared an

JMeter / Selenium WebDriver – How To Trigger Automated Test Execution From SlackRead More »

Selenium WebDriver – How To Distribute Docker Images – Part 3

Overview: The modern cloud infrastructure, continuous integration & deployment processes etc have completely changed the way how applications are deployed in production nowadays. In order to release new features faster in Production, you need to reduce time we take in the each phase of the SDLC. As an automation lead/architect, It could be your responsibility to

Selenium WebDriver – How To Distribute Docker Images – Part 3Read More »

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

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

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

AssertJ Custom Assertions For Selenium WebDriverRead More »

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 »