Last Updated On
TestNG was developed by a famous programmer named “Cedric Beust”. It is distributed under Apache Software License and is easily available to download.
TestNG requires JDK 7 or higher. TestNG is a testing framework inspired by JUnit and NUnit, but introduces some new functionalities that make it more powerful and easier to use.

Category 1: Introduction and Setup
| Chapter 1 Introduction to TestNG |
| Chapter 2 How to download and install TestNG in Eclipse |
Category 2: TestNG Features and Techniques
| Chapter 1 TestNG Annotations | ||
| Chapter 2 Assertions in TestNG | ||
| Chapter 3 Hard Assert and Soft Assert | ||
| Chapter 4 How to create and run TestNG.xml of a TestNG class | ||
| Chapter 5 How to pass Parameters in TestNG | ||
| Chapter 6 Prioritizing Test Cases in TestNG: Complete Guide | ||
| Chapter 7 How to disable Selenium Test Cases using TestNG Feature – @Ignore | ||
| Chapter 8 How to Use dependsOnMethods() in TestNG for Selenium Test Case Dependency | ||
| Chapter 9 How to group Tests in Selenium | ||
| Chapter 10 InvocationCount in TestNG | ||
| Chapter 11 How to run Parallel Tests in Selenium with TestNG | ||
| Chapter 12 Cross Browser Testing using Selenium and TestNG | ||
| Chapter 13 Screenshot of Failed Test Cases in Selenium WebDriver | ||
| Chapter 14 TestNG Listeners in Selenium | ||
| Chapter 15 How to Retry failed tests in TestNG – IRetryAnalyzer | ||
| Chapter 16 DataProviders in TestNG | ||
| Chapter 17 DataProvider in TestNG using Excel | ||
| Chapter 18 Parallel testing of DataProviders in TestNG | ||
| Chapter 19 TestNG Interview Questions |
Category 3: Execution and Command Line Operations
| Chapter 1 Run TestNG tests from Command Line |
| Chapter 2 Execute Testng.xml using batch file |
Category 4: Test Framework
Maven
| Chapter 1 Integration of REST Assured with TestNG | |
| Chapter 2 Integration of Cucumber with Selenium and TestNG | |
| Chapter 3 Integration Testing of Springboot with Cucumber and TestNG |
Gradle
| Chapter 1 How to create Gradle project with Selenium and TestNG | |
| Chapter 2 Gradle Project with Cucumber, Selenium and TestNG |
Category 5: Reporting with TestNG
Allure Report with TestNG
ExtentReports with TestNG
| Chapter 1 ExtentReports Version 5 for Cucumber 6 and TestNG | |
| Chapter 2 PDF ExtentReport for Cucumber and TestNG | |
| Chapter 3 ExtentReports Version 5 for Cucumber 7 and TestNG |
Category 6: Interview Questions