Selenium WebDriver – How To Automatically Switch Among Browser Windows

Overview: One of the common challenges we face while automating our tests is – switching between open windows. Many of us would have seen the code as shown below. // get the current window handle String parentHandle = driver.getWindowHandle(); for (String handle: driver.getWindowHandles()) { if (!parentHandle.equals(handle)) driver.switchTo().window(handle); } There is nothing wrong in the above code […]

Selenium WebDriver – Disposable Selenium Grid Infrastructure Setup using Zalenium

Overview: We already have seen the challenges related to setting up the Selenium Grid infrastructure and how docker helps us in setting up a flexible/disposable/highly scalable selenium grid within few seconds in these articles below. Docker – Selenium Grid Setup Arquillian Cube – Managing Dockerized Selenium Grid In this article, We will see how Zalenium

Selenium WebDriver – Disposable Selenium Grid Infrastructure Setup using ZaleniumRead More »

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 Automate Hoverable Multilevel DropdownsRead 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 »

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 »

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

JMeter – How To Distribute User Load In The Test Plan

In this article, Lets see how we can distribute the load across the critical scenarios of the application using Throughput Controller in JMeter. Overview: Identifying the Critical business transactions is an important phase in order to create a proper workload model for our Performance Test. We had already published an article on Performance Workload Modeling

JMeter – How To Distribute User Load In The Test PlanRead More »