Selenium WebDriver – How To Automatically Skip Tests Based On Defects Status

Overview: I have been running thousands of automated test cases as part of our nightly regression testing. One of the challenges in running this is analyzing the test results next day morning – Particularly when you have large set of regression test cases. Even though I have tried to keep the test flakiness as low […]

Selenium WebDriver – How To Automate Responsive Design Testing

Overview: In IoT era, where everything is integrated, It is almost impossible to find someone without a mobile device! Any user with an internet connection could potentially be a customer of your application. So, It is your job to ensure that they have a best user experience on your website. Responsive web design makes your application

Selenium WebDriver – How To Automate Responsive Design TestingRead More »

Selenium WebDriver – How To Find Broken Links On a Page

Overview: In this article, we will see how we could use Selenium WebDriver to find broken links on a webpage. Utility Class: To demonstrate how it works, I would be using below simple utility. This below method simply returns the HTTP response code the given URL. public class LinkUtil { // hits the given url and

Selenium WebDriver – How To Find Broken Links On a PageRead More »

Selenium WebDriver – How To Create TestNG Suite XML From Spreadsheet

Overview: If we use testNG framework, it could be difficult to maintain the testNG suite xml for a huge project where we have thousands of test cases. For such projects, it is convenient to maintain the tests in a spreadsheet & create the testNG suite xml from the spreadsheet. In this article, let’s see how

Selenium WebDriver – How To Create TestNG Suite XML From SpreadsheetRead 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 Download And Set Up the Browser Drivers

Overview: One of the challenges we often face with test automation is – setting up the dependency to run the automated test scripts in all the remote virtual machines. For example, downloading & setting up the required version of browser drivers like chromedriver and adding them to the PATH. Doing this setup manually in every machine could

Selenium WebDriver – How To Download And Set Up the Browser DriversRead More »

Extending JMeter – Creating Custom Config Element – Property File Reader

JMeter is one of the best open source tools in the Test Automation Community. It comes with all the possible extensions to come up with our test scripts quickly. To make our life even more easier, It also lets us to come up with our own plugins by implementing few interfaces. In this article, I would

Extending JMeter – Creating Custom Config Element – Property File ReaderRead 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 »

JMeter – How To Share Performance Test Results in Slack

Overview: Test automation is not just automating the application. I would say even sharing the test results programmatically with the team is part of Test automation. So that , team does not depend on any individual to get the results. Team can also take further action based on the test results without any delay. In

JMeter – How To Share Performance Test Results in SlackRead More »

Introducing PDFUtil – Compare two PDF files textually or Visually

In my project, I need to compare tons of PDF files. I could not find any good FREE library which is working out of the box to compare the PDF files. I did not want just Text compare & I was looking for something which can compare PDFs pixel by pixel to find all the differences.  Libraries which can do

Introducing PDFUtil – Compare two PDF files textually or VisuallyRead More »