How to pass the the parameter to the Test listener method

Please have a look at this:

Hope this helps.