TestNG Tutorial #1 – How to Install TestNG in Eclipse IDE

In this TestNG tutorial we will learn How to Install TestNG in Eclipse IDE.

There are many ways in which you can setup TestNG in Eclipse IDE and we will cover all the ways on installation and setup of TestNG in eclipse IDE for Selenium Webdriver Automation.

TestNG Tutorial #2 – How to Write Test Cases Using TestNG

In this TestNG tutorial we will learn How to Write Test Cases Using TestNG.

In Selenium WebDriver TestNG Automation, it is very important to identify your test cases. TestNG provides @Test annotation which is used to define any test case in TestNG. Watch the full tutorial series to learn complete TestNG for Selenium Automation.

TestNG Tutorial #4 – How to Use Assertion in Selenium TestNG

In this TestNG tutorial we will learn how to use Assertion in Selenium TestNG.

TestNG library provides the Class Assert which has methods that are used to perform assertions in Selenium TestNG.

TestNG Tutorial #5-Soft Assertion in TestNG | SoftAssert vs HardAssert

In this TestNG Tutorial we will learn about soft assertion in TestNG and how to perform soft assert. Soft assertion is important in selenium webdriver automation scenarios where you want to execute your script further even after failed assertions in your test script.

We will also understand the difference between soft assert vs hard assert.

TestNG Tutorial #6 – How to Group Test Cases in TestNG | Grouping

In this TestNG tutorial we will learn how to group test cases in TestNG. Grouping of your selenium webdriver test cases is required in order to categorize your tests as per various groups like Regression, Sanity, Smoke etc.

TestNG Grouping helps you to categorize your tests into different groups. Watch the full tutorial series to understand TestNG Testing framework.