Answers for "What is the use of @Listener annotation in TestNG?"

0

What is the use of @Listener annotation in TestNG?

● configure reports and logging.
● widely used listeners : ITestListener interface.
● It has methods like onTestStart, onTestSucess. onTestFailure, on TestSkipped
● we should implement this interface creating a listener class of our own,
● Next, we should add the listeners annotation (@Listeners) in the class
Posted by: Guest on June-16-2021

Code answers related to "What is the use of @Listener annotation in TestNG?"

Browse Popular Code Answers by Language