| || |
How to get the method name in @AfterMethod
I would like to get the executed/executing method name in the @BeofreMethod and @AfterMethod.
I have tried by looking at the testNG documentation, but could not get it.
Could someone please help in in solving the above issue?