Posted On: Apr 06, 2020
Listeners are like interfaces in TestNG that are used to modify the behavior of default TestNG. Listeners listen to the event defined in the script and behave accordingly to the event. There are many TestNG listeners available such as IAnnotationTransformer, IAnnotationTransformer2, IConfigurable, IHookable, ITestLinstener and more.
Never Miss an Articles from us.