Selenium WebDriver – How To Automate Hoverable Multilevel Dropdowns

Overview: One of the challenges test automation engineers face is – automating hoverable dropdowns as shown above in this article. Lets see how it can be automated using Selenium-WebDriver & Java. Hoverable Dropdown: Check this site. Move your mouse pointer on the element ‘Dropdown’. We can see the list of options of the multilevel ‘Dropdown’. […]

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 »

Selenium WebDriver – How To Automate DatePicker

Overview: We already have seen automating below complex controls. JQuery Slider JQuery Sortable In this article, we will see how we could automate Calendar / DatePicker. Goal: To model a wrapper element for the DatePicker / Calendar. So that user can identify the datepicker field as any other field by the locator and select any given date

Selenium WebDriver – How To Automate DatePickerRead 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 »

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 – 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 »