Class ErrorReporterImpl

java.lang.Object
org.apache.tapestry5.test.ErrorReporterImpl
All Implemented Interfaces:
ErrorReporter

public class ErrorReporterImpl extends Object implements ErrorReporter
  • Constructor Details

    • ErrorReporterImpl

      public ErrorReporterImpl(org.openqa.selenium.WebDriver webdriver, org.testng.ITestContext testContext)
  • Method Details

    • 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 interface ErrorReporter
      Parameters:
      reportText - text to store in an associated .txt file, describing the failure.