com.thoughtworks.selenium
Class ScreenshotListener
java.lang.Object
com.thoughtworks.selenium.ScreenshotListener
- All Implemented Interfaces:
- org.testng.IConfigurationListener, org.testng.internal.IResultListener, org.testng.ITestListener, org.testng.ITestNGListener
public class ScreenshotListener
- extends Object
- implements org.testng.internal.IResultListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScreenshotListener
public ScreenshotListener(File outputDirectory,
com.thoughtworks.selenium.Selenium selenium)
onTestFailure
public void onTestFailure(org.testng.ITestResult result)
- Specified by:
onTestFailure in interface org.testng.ITestListener
onConfigurationFailure
public void onConfigurationFailure(org.testng.ITestResult result)
- Specified by:
onConfigurationFailure in interface org.testng.IConfigurationListener
onFinish
public void onFinish(org.testng.ITestContext context)
- Specified by:
onFinish in interface org.testng.ITestListener
onStart
public void onStart(org.testng.ITestContext context)
- Specified by:
onStart in interface org.testng.ITestListener
onTestFailedButWithinSuccessPercentage
public void onTestFailedButWithinSuccessPercentage(org.testng.ITestResult result)
- Specified by:
onTestFailedButWithinSuccessPercentage in interface org.testng.ITestListener
onTestSkipped
public void onTestSkipped(org.testng.ITestResult result)
- Specified by:
onTestSkipped in interface org.testng.ITestListener
onTestStart
public void onTestStart(org.testng.ITestResult result)
- Specified by:
onTestStart in interface org.testng.ITestListener
onTestSuccess
public void onTestSuccess(org.testng.ITestResult result)
- Specified by:
onTestSuccess in interface org.testng.ITestListener
onConfigurationSuccess
public void onConfigurationSuccess(org.testng.ITestResult itr)
- Specified by:
onConfigurationSuccess in interface org.testng.IConfigurationListener
onConfigurationSkip
public void onConfigurationSkip(org.testng.ITestResult itr)
- Specified by:
onConfigurationSkip in interface org.testng.IConfigurationListener
Copyright © 2012. All Rights Reserved.