How do I write code for listeners in TestNG?

I want to know how can I use listeners in my java code? Also, what changes do I need to make to the xml file if I want to include listeners? I added org.testng.ITestNGListener, then the program is throwing errors too?

+2


a source to share


1 answer


Do you have any specific questions that are not covered in the documentation:

http://testng.org/doc/documentation-main.html#logging



?

+1


a source







All Articles