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 Tutorial #3 – TestNG Annotations | BeforeMethod vs BeforeTest

In this TestNG tutorial we will learn about TestNG Annotations, BeforeMethod vs BeforeTest and AfterMethod vs AfterTest.We will understand with example how to use TestNG annotations @BeforeTest, @AfterTest, @BeforeMethod @AfterMethod in your test scripts.✅ @BeforeTest: The method annotated with @BeforeTest annotation will be executed before any test method belonging...

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...

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...

TestNG Tutorial #7 – How to Create Test Suite in TestNG

In this TestNG tutorial we will learn how to create test suite in TestNG testing framework.TestNG testing framework provides TestNG.xml file which is utilized to categorize your test cases into different categories or Test Suites like regression, functional, Smoke, BVT etc.

TestNG Tutorial #8 – How to Skip Test Cases in TestNG

In this TestNG tutorial we will learn how to skip test cases in TestNG. Skipping testng tests is required many times based on different situations in your automation test suites, for example, test case is not completed or test didn't meet certain conditions while execution.We will understand different situations...

×