Tuesday, April 21, 2020

Module 7: TestNG Listeners | Selenium Automation Framework

Listeners "listen" to all the events marked in our Selenium Scripts being executed in our Test Run. They act accordingly as per definition. Listeners allow us to perform certain actions when the said events get triggered.

Hi Guys! We will just add a new class listeners.java today in our utility package we created in yesterday's tutorial. It would be great in case you can read about TestNG listeners over the internet just to clear out any doubts and have a clear picture of listeners. That's Homework, Do it... Follow the white Rabbit :P 

Create a new class named listeners --> Add code as in below snippet. That's all for today. Questions welcome!




1 comment:

  1. Thank you for providing the example of the test. I did not think that it might be so easy! Appreciate your valuable assistance!

    ReplyDelete

Thanks a lot for your valuable Comment!