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 […]

JMeter – REST API Testing – A Complete Data-Driven Approach

In this article, I would like to show you a data-driven approach for REST API testing. If you are new to JMeter/REST API Testing, I would like to read this article first to get some idea. Goal: Our aim here is to come up with a framework to test REST API with different HTTP Methods. This

JMeter – REST API Testing – A Complete Data-Driven ApproachRead More »

Selenium WebDriver – Design Patterns in Test Automation – Strategy 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 – Strategy PatternRead More »

Selenium WebDriver – Design Patterns in Test Automation – Factory 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 – Factory PatternRead More »

JMeter – Installing Plugins Manager & Other Plugins through Command-line

In this short article, we will see how we could install the required plugins for JMeter 3.1 or above using Command-line / Ant. Goal: To install the required plugins for the JMeter test using Ant. Ant Target: Include below ant targets in your current project. [I assumed ‘jmeter.home’ property is set & pointing to JMeter

JMeter – Installing Plugins Manager & Other Plugins through Command-lineRead 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 »

JMeter – Centralized Logging Solution in Distributed Testing using ElasticSearch + Beats + Kibana

I would like to show you the Centralized Logging Solution Architecture design for JMeter distributed performance testing in this article. Distributed Testing Challenges: In JMeter distributed testing we might face below challenges. TestAutomationGuru has already given the solutions for these challenges using Open Source tools/technologies. JMeter & other dependencies setup JMeter – Distributed Load Testing using Docker

JMeter – Centralized Logging Solution in Distributed Testing using ElasticSearch + Beats + KibanaRead More »

Selenium WebDriver – How To Locate WebElements from Dynamic Tables

Overview: In this article, Lets see how we could find elements from a dynamic web table when there are no proper locators. Problem Statement: I have a web application in which I have around 1800 HTML elements to deal with! It is a very heavy page. The challenge is here not only the number of elements

Selenium WebDriver – How To Locate WebElements from Dynamic TablesRead More »

Best Practices – JMeter – Adding Performance Testing in CI / CD Pipeline

We already have seen Continuous Performance Testing process as part of these articles. JMeter – ANT – Jenkins Integration – Part 1 JMeter – ANT – Jenkins Integration – Part 2 JMeter – Maven – Jenkins Integration JMeter – Gradle – Jenkins – TBD In this article, I would like to show how I have set

Best Practices – JMeter – Adding Performance Testing in CI / CD PipelineRead More »

Selenium WebDriver – Automating Custom Controls – JQuery Sortable Elements

We already have seen automating a custom control – JQuery Slider – in this article. I would request you to read that article first, if you have not already. We are going to see how to automate JQuery Sortable Elements in this post. Goal: To model a wrapper element for these sortable items. So that user can

Selenium WebDriver – Automating Custom Controls – JQuery Sortable ElementsRead More »