public class TestdriverListener extends Object implements org.testng.IInvokedMethodListener
| Constructor and Description |
|---|
TestdriverListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
Runs after each test invocation.
|
void |
beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
Runs before each test invocation.
|
public void beforeInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
beforeInvocation in interface org.testng.IInvokedMethodListenermethod - the method which is about to run.testResult - the result of the test.public void afterInvocation(org.testng.IInvokedMethod method,
org.testng.ITestResult testResult)
afterInvocation in interface org.testng.IInvokedMethodListenermethod - the method that has just run.testResult - the test result.Copyright © 2016. All rights reserved.