Class BrowserPerClass

java.lang.Object
org.testng.reporters.ExitCodeListener
com.codeborne.selenide.testng.BrowserPerClass
All Implemented Interfaces:
org.testng.IConfigurationListener, org.testng.internal.IResultListener, org.testng.internal.IResultListener2, org.testng.ITestListener, org.testng.ITestNGListener

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    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.IConfigurationListener

    beforeConfiguration, onConfigurationFailure, onConfigurationSkip, onConfigurationSuccess

    Methods inherited from interface org.testng.ITestListener

    onTestFailedWithTimeout
  • Constructor Details

    • BrowserPerClass

      public BrowserPerClass()
  • Method Details

    • onFinish

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