In this post will understand TestNG listeners and will walk through example for each of the listeners.
In TestNG, a listener is represented by the marker interface . Each interface defines one aspect of TestNG. In order to extend TestNG behavior one needs to implement the TestNG-provided listener interface and then integrate it with TestNG.
. TestNG provides you with many more interfaces that extend
First, I will introduce you to each of these listeners and then we will look into the different ways of integrating the listeners.
Setup:
1. Java 1.6 or above
2. Eclipse Mars, Luna etc.
3. TestNG
Table of contents :
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.