How to pass the the parameter to the Test listener method..


#1

Hi team,
I need to pass the parameters to the Test listener without the declaring the variable from the test case.

Note : I have seen that, We can get the value from the Testcase by testSuiteContext.


#2

The Test listener is not for calling from other place. What kind of information you want to pass to it?


#3

Please have a look at this:

Hope this helps.