Package org.apache.tapestry5.test
Class ErrorReporterImpl
- java.lang.Object
-
- org.apache.tapestry5.test.ErrorReporterImpl
-
- All Implemented Interfaces:
ErrorReporter
public class ErrorReporterImpl extends Object implements ErrorReporter
-
-
Constructor Summary
Constructors Constructor Description ErrorReporterImpl(org.openqa.selenium.WebDriver webdriver, org.testng.ITestContext testContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
ErrorReporterImpl
public ErrorReporterImpl(org.openqa.selenium.WebDriver webdriver, org.testng.ITestContext testContext)
-
-
Method Detail
-
writeOutputPaths
public void writeOutputPaths()
-
writeErrorReport
public void writeErrorReport(String reportText)
Description copied from interface:ErrorReporter
Writes an error report file into the TestNG output directory, based on the name of the test, containing the current page content.- Specified by:
writeErrorReport
in interfaceErrorReporter
- Parameters:
reportText
- text to store in an associated .txt file, describing the failure.
-
-