public class FailedTestListener
extends org.testng.TestListenerAdapter
Listeners annotation in the expected class.| Constructor and Description |
|---|
FailedTestListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onConfigurationFailure(org.testng.ITestResult itr) |
void |
onTestFailure(org.testng.ITestResult tr)
On Assert Failure this method will be called to take screen shot
and call the super method on
TestListenerAdapter. |
beforeConfiguration, getAllTestMethods, getConfigurationFailures, getConfigurationSkips, getFailedButWithinSuccessPercentageTests, getFailedTests, getPassedTests, getSkippedTests, getTestContexts, onConfigurationSkip, onConfigurationSuccess, onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestSkipped, onTestStart, onTestSuccess, setAllTestMethods, setFailedButWithinSuccessPercentageTests, setFailedTests, setPassedTests, setSkippedTests, toStringpublic void onTestFailure(org.testng.ITestResult tr)
TestListenerAdapter.onTestFailure in interface org.testng.ITestListeneronTestFailure in class org.testng.TestListenerAdapterpublic void onConfigurationFailure(org.testng.ITestResult itr)
onConfigurationFailure in interface org.testng.IConfigurationListeneronConfigurationFailure in class org.testng.TestListenerAdapterCopyright © 2015 Alfresco Software. All rights reserved.