Package org.apache.tapestry5.test
Class ErrorReporterImpl
java.lang.Object
org.apache.tapestry5.test.ErrorReporterImpl
- All Implemented Interfaces:
ErrorReporter
-
Constructor Summary
ConstructorsConstructorDescriptionErrorReporterImpl
(org.openqa.selenium.WebDriver webdriver, org.testng.ITestContext testContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Constructor Details
-
ErrorReporterImpl
public ErrorReporterImpl(org.openqa.selenium.WebDriver webdriver, org.testng.ITestContext testContext)
-
-
Method Details
-
writeOutputPaths
-
writeErrorReport
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.
-