Wrapping Exception

Java exceptions are language features used to deal with program failure. In this article, we will see one of the best practices of exception handling followed in the industry called “Exception wrapping” or “Exception funnelling”. Table of Contents1 Introduction1.1 Without exception wrapping1.1.1 Disadvantage1.2 With exception wrapping Introduction Exception wrapping is when you catch an exception, wrap it in another exception and...

Apache Maven – Create a simple maven project

Table of Contents1 What is Apache Maven?2 Key Features of Maven3 Maven Project Structure4 What is POM.xml file?5 Pre-requisite6 Create maven project7 Maven Dependency Management What is Apache Maven? Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a...

How ByChained works in selenium

In this blog post let us understand what is ByChained class. Table of Contents1 Introduction to ByChained class in selenium1.1 Working of ByChained object1.1.1 Program demonstrating without ByChained class1.1.2 Program demonstrating by using ByChained class Introduction to ByChained class in selenium In Selenium API ByChained is a predefined class which is part of package org.openqa.selenium.support.pagefactory The ByChained class has a...