public class ErrorReporterImpl extends Object implements ErrorReporter
Constructor and Description |
---|
ErrorReporterImpl(com.thoughtworks.selenium.CommandProcessor commandProcessor,
org.testng.ITestContext testContext) |
Modifier and Type | Method and Description |
---|---|
void |
writeErrorReport(String reportText)
Writes an error report file into the TestNG output directory, based on the name of the test,
containing the current page content.
|
void |
writeOutputPaths() |
public ErrorReporterImpl(com.thoughtworks.selenium.CommandProcessor commandProcessor, org.testng.ITestContext testContext)
public void writeOutputPaths()
public void writeErrorReport(String reportText)
ErrorReporter
writeErrorReport
in interface ErrorReporter
reportText
- text to store in an associated .txt file, describing the failure.${project.version} - Copyright © 2003-2015 The Apache Software Foundation.