Category Archives: Selenium Java

How to handle NoSuchWindowException in Selenium

Selenium JavaTutorial

How To Handle NoSuchWindowException In Selenium

In today’s digital landscape, websites are brimming with dynamic content, captivating users with interactive experiences. A notable feature is the frequent emergence of new windows and tabs triggered by specific actions taken by users.

June 6, 2023

view count105971 Views

Read time21 Min Read

JUnitIgnoreTest

AutomationSelenium JavaTutorial

How To Use JUnit Ignore Test Annotation [With Examples]

This article is a part of our Learning Hub. For more in-depth resources, check out our hub on JUnit Tutorial. JUnit 5 is a widely adopted open-source unit testing framework for Java-based projects undergoing constant evolution to meet developers’ changing needs.

May 12, 2023

view count197899 Views

Read time30 Min Read

Selenium WebDriver

Selenium JavaTutorial

How To Handle SSL Certificates In Selenium WebDriver?

We often access a website on our browser, which works fine. But when you try to access the same while automating it using Selenium WebDriver, the website is not loaded, and the browser shows a security error like “The connection is not secure” or “This connection is Untrusted.”

April 26, 2023

view count60225 Views

Read time19 Min Read

Exception Tests

Selenium Java

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

This article is a part of our Content Hub. For more in-depth resources, check out our content hub on TestNG. 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 count52383 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 count151819 Views

Read time15 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 count207712 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 count295465 Views

Read time26 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 count518353 Views

Read time17 Min Read

How To Select Multiple Checkboxes In Selenium WebDriver Using Java?

Selenium JavaAutomationTutorial

How To Select Multiple Checkboxes In Selenium WebDriver Using Java?

Have you ever wondered how frustrating it would be if you had to log in each time you wanted to view your Facebook profile? Or in a multiple-choice question where you’d like to mark many options but can’t?

June 20, 2022

view count184802 Views

Read time15 Min Read

How To Use isDisplayed() In Selenium WebDriver

Selenium JavaAutomationTutorial

How To Use isDisplayed() In Selenium WebDriver

If you use Selenium WebDriver, you are probably aware that there are a number of common ways to loop through and interact with elements on a web page. Among them isDisplayed(), isEnabled(), and isSelected() methods. When a tester needs to ascertain the visibility scope of a web element, they can use these methods.

April 22, 2022

view count153388 Views

Read time15 Min Read