Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

TESTNG

Listeners in TestNG
TestNG: Test Execution Engine

➤ Listeners : Listeners implements the interface in TestNG and


report the real time event when Test Starts, Fails, passes etc.
➤ ITestListener: We can use this listener to analyse test
methods, perform logging. 
➤ Advantage of Listeners over @BeforeTest,
@BeforeMethod,@AfterTest,@AfterMethod etc.
Will see you in Next Lecture…

See you in next lecture …

You might also like