Category Selenium

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 in detail, covering their types, implementation, and practical use cases with examples. What are TestNG…

TestNG Assertion in Selenium

Why do we use Assertion in Selenium

TestNG assertion in Selenium is basically blocks of code that are placed in the test cases to check/verify the success of certain conditions in the test script and decide whether the test has failed or passed. A test will be…

Parameterization in TestNG

TestNG Parameterization

Parameterization is an important feature provided by TestNG which allows the users to pass parameter values to test methods as arguments. Using this feature, developers can run the same test over and over again with different values. Parameterization test is…