Class FluentTestNg

All Implemented Interfaces:
IFluentAdapter, TestRunnerAdapter, Configuration, ConfigurationMutator, ConfigurationProperties, InputControl, AlertControl, CapabilitiesControl, ComponentInstantiator, CssControl, EventsControl, FluentControl, FluentInjectControl, NavigationControl, PerformanceTimingControl, JavascriptControl, SearchControl<FluentWebElement>, SeleniumDriverControl, SnapshotControl, AwaitControl, ChromiumControl

public class FluentTestNg extends FluentTestRunnerAdapter
TestNG FluentLenium Test Runner Adapter.

Extends this class to provide FluentLenium support to your TestNG Test class.

  • Constructor Details

    • FluentTestNg

      public FluentTestNg()
      Creates a new test runner adapter.
  • Method Details

    • afterTest

      @AfterTest(alwaysRun=true) public void afterTest (org.testng.ITestContext context)
      After test.
      Parameters:
      context - test context
    • beforeMethod

      @BeforeMethod(alwaysRun=true) public void beforeMethod (Method method, org.testng.ITestContext context)
      Before test.
      Parameters:
      method - test method
      context - test context
    • afterMethod

      @AfterMethod(alwaysRun=true) public void afterMethod (org.testng.ITestResult result)
      After test method.
      Parameters:
      result - test result
    • afterClass

      @AfterClass(alwaysRun=true) public void afterClass()
      After test class.