org.testng
Interface IInvokedMethodListener
- All Superinterfaces:
- ITestNGListener
- All Known Subinterfaces:
- IInvokedMethodListener2
- All Known Implementing Classes:
- SuiteRunner
public interface IInvokedMethodListener
- extends ITestNGListener
A listener that gets invoked before and after a method is invoked by TestNG.
This listener will only be invoked for configuration and test methods.
beforeInvocation
void beforeInvocation(IInvokedMethod method,
ITestResult testResult)
afterInvocation
void afterInvocation(IInvokedMethod method,
ITestResult testResult)
Copyright © 2011. All Rights Reserved.