Class BrowserPerClass

  • All Implemented Interfaces:
    org.testng.IConfigurationListener, org.testng.internal.IResultListener, org.testng.internal.IResultListener2, org.testng.ITestListener, org.testng.ITestNGListener

    @ParametersAreNonnullByDefault
    public class BrowserPerClass
    extends org.testng.reporters.ExitCodeListener
    Annotate your test class with @Listeners({ BrowserPerClass.class})
    • Constructor Summary

      Constructors 
      Constructor Description
      BrowserPerClass()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onFinish​(org.testng.ITestContext context)  
      • Methods inherited from class org.testng.reporters.ExitCodeListener

        beforeConfiguration, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess, onStart, onTestFailedButWithinSuccessPercentage, onTestFailure, onTestSkipped, onTestStart, onTestSuccess
      • Methods inherited from class java.lang.Object

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

        onTestFailedWithTimeout
    • Constructor Detail

      • BrowserPerClass

        public BrowserPerClass()
    • Method Detail

      • onFinish

        public void onFinish​(org.testng.ITestContext context)
        Specified by:
        onFinish in interface org.testng.ITestListener
        Overrides:
        onFinish in class org.testng.reporters.ExitCodeListener