Class ErrorReporterImpl

    • Constructor Detail

      • ErrorReporterImpl

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

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