Module 7: TestNG Listeners | Selenium Automation Framework - Software Testing

Empowering Technology

Post Top Ad

Responsive Ads Here

Apr 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 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!


Thanks a lot for your valuable Comment!

Post Bottom Ad

Responsive Ads Here