@ParametersAreNonnullByDefault
public class ScreenShooter
extends org.testng.reporters.ExitCodeListener
@Listeners({ ScreenShooter.class})
Modifier and Type | Field and Description |
---|---|
static boolean |
captureSuccessfulTests |
Constructor and Description |
---|
ScreenShooter() |
Modifier and Type | Method and Description |
---|---|
void |
onTestFailure(org.testng.ITestResult result) |
void |
onTestStart(org.testng.ITestResult result) |
void |
onTestSuccess(org.testng.ITestResult result) |
beforeConfiguration, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onFinish, onStart, onTestFailedButWithinSuccessPercentage, onTestSkipped
public void onTestStart(org.testng.ITestResult result)
onTestStart
in interface org.testng.ITestListener
onTestStart
in class org.testng.reporters.ExitCodeListener
public void onTestFailure(org.testng.ITestResult result)
onTestFailure
in interface org.testng.ITestListener
onTestFailure
in class org.testng.reporters.ExitCodeListener
public void onTestSuccess(org.testng.ITestResult result)
onTestSuccess
in interface org.testng.ITestListener
onTestSuccess
in class org.testng.reporters.ExitCodeListener