TestNG Listeners

There are mainly two kinds of Listeners. First is WebDriver Listeners and the second is TestNG Listeners. In this tutorial, we will learn TestNG listeners and their different types of listeners.  What is TestNG Listeners? Listener is an interface that is used to modify the default TestNG’s behavior. It helps … Read more

Exception Hierarchy in Java | Types of Exceptions

Types of Exceptions in Java Basically, there are two types of exceptions in java. They are:1. Predefined Exception (Built-in-Exceptions)2. Custom Exceptions Predefined Exceptions:  Predefined exceptions are those exceptions that are already defined by Java system. These exceptions are also called built-in-exceptions.Java supports exception handling by providing the number of predefined … Read more