Why does my Listener class forces me to implement all the methods from the interface? | Selenium Forum
P
Pravin V. Kumbhare Posted on 07/09/2021

Hello sir,

I'm using Listener in my proj and it is forcing me to implement all the methods from the interface ITestListener.

In your tutorial video (TestNG DataDriven Framework - video 10), I can see that you're implementing only three of these methods onTestSuccess, onTestFailure and onTestSkipped (you didn't even declare the Listener to be abstract). How come this happen?

 


A
Ashish Thakur Replied on 15/09/2021

Which java version are you using


P
Pravin V. Kumbhare Replied on 15/09/2021

1.8.0_252


Related Posts