Why doesn't listener class force you to implement all the unimplemented methods in the interface ITestListener? | Selenium Forum
P
Pravin V. Kumbhare Posted on 13/08/2020

After adding listener tag to my testng.xml, when I create the Listener class and implement the ITestListener interface, it forces me to implement all the methods in this interface. But in the recording, I can see its not forcing the trainer to do so.

Why?


A
Ashish Replied on 14/08/2020

This is because of JDK 8

This has been discussed here

https://github.com/cbeust/testng/issues/1964


Related Posts