Class TextReport

  • All Implemented Interfaces:
    org.testng.IInvokedMethodListener, org.testng.ITestNGListener

    @ParametersAreNonnullByDefault
    public class TextReport
    extends java.lang.Object
    implements org.testng.IInvokedMethodListener
    Reports for all method of annotated class in the suite. Annotate any test class in your suite with @Listeners({TextReport.class}) Annotate test classes to be reported with @{@link Report}
    Since:
    Selenide 3.6 Use either TextReport or GlobalTextReport, never both
    • Constructor Summary

      Constructors 
      Constructor Description
      TextReport()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterInvocation​(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)  
      void beforeInvocation​(org.testng.IInvokedMethod method, org.testng.ITestResult testResult)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.testng.IInvokedMethodListener

        afterInvocation, beforeInvocation
    • Field Detail

      • onFailedTest

        public static boolean onFailedTest
      • onSucceededTest

        public static boolean onSucceededTest
    • Constructor Detail

      • TextReport

        public TextReport()
    • Method Detail

      • beforeInvocation

        public void beforeInvocation​(org.testng.IInvokedMethod method,
                                     org.testng.ITestResult testResult)
        Specified by:
        beforeInvocation in interface org.testng.IInvokedMethodListener
      • afterInvocation

        public void afterInvocation​(org.testng.IInvokedMethod method,
                                    org.testng.ITestResult testResult)
        Specified by:
        afterInvocation in interface org.testng.IInvokedMethodListener