Category Archives: Selenium Java

Exception Tests

Selenium Java

A Complete Guide To Exception Tests In TestNG [With Examples]

While automating critical applications like banking apps, it’s important to implement error handling and validation checks to ensure that the application is secure and reliable for the bank’s customers.

April 14, 2023

view count18788 Views

Read time20 Min Read

AutomationSelenium JavaTutorial

How To Perform Local Website Testing Using Selenium And Java

Users expect new features and websites to be seamless and user-friendly when they go live. End-to-end website testing in local infrastructure becomes an unspoken critical requirement for this.

February 8, 2023

view count130984 Views

Read time14 Min Read

How To Find Hidden Elements In Selenium WebDriver With Java

Selenium JavaSelenium WebDriverTutorial

How To Find Hidden Elements In Selenium WebDriver With Java

Have you ever struggled with handling hidden elements while automating a web or mobile application? I was recently automating an eCommerce application. I struggled with handling hidden elements on the web page.

January 3, 2023

view count48821 Views

Read time15 Min Read

13 Best Java Testing Frameworks For 2023

Selenium JavaAutomation

13 Best Java Testing Frameworks For 2023

The fact is not alien to us anymore that cross browser testing is imperative to enhance your application’s user experience.

January 1, 2023

view count150286 Views

Read time17 Min Read

How To Handle Dynamic Dropdowns In Selenium WebDriver Java

Selenium WebDriverSelenium JavaTutorial

How To Handle Dynamic Dropdowns In Selenium WebDriver With Java

Joseph, who has been working as a Quality Engineer, was assigned to perform web automation for the company’s website.

December 23, 2022

view count48491 Views

Read time17 Min Read

How To Automate Toggle Buttons In Selenium Java

Selenium JavaAutomationTutorial

How To Automate Toggle Buttons In Selenium Java

If you pay close attention, you’ll notice that toggle switches are all around us because lots of things have two simple states: either ON or OFF (in binary 1 or 0).

November 24, 2022

view count189772 Views

Read time13 Min Read

Fluent Interface Design Pattern in Automation Testing

Selenium JavaAutomationTutorial

Fluent Interface Design Pattern in Automation Testing

Recently, I was going through some of the design patterns in Java by reading the book Head First Design Patterns by Eric Freeman, Elisabeth Robson, Bert Bates, and Kathy Sierra.

October 27, 2022

view count274581 Views

Read time26 Min Read

Selenium JavaAutomationTutorial

How To Handle Stale Element Reference Exceptions In Selenium Java

While using Selenium with Java, we experience several exceptions while developing our automation code. An exception is an event that interrupts a program’s execution flow.

October 3, 2022

view count217727 Views

Read time14 Min Read

How To Automate Shadow DOM In Selenium WebDriver

Selenium JavaAutomationTutorial

How To Automate Shadow DOM In Selenium WebDriver

I came across one of the test cases in my previous projects where I had to click on a button to navigate to the next page. I searched for the element locator of the button on the page and ran the tests hoping it would click the button and navigate to the next page.

September 26, 2022

view count206913 Views

Read time14 Min Read

How To Get Response Status Code Using Apache HTTP Client

Selenium JavaAutomationTutorial

How To Get Response Status Code Using Apache HTTP Client?

As an automation tester, many times we reminisce about what is going on behind the scenes after the URL is passed to the web browser. What happens once the browser requests to load a website, or how does it know whether its request has been accepted and is ready to be fulfilled or not.

July 11, 2022

view count494815 Views

Read time17 Min Read