Class ApplicationPerMethodWebSessionTest<C extends WebDriverConfiguration,​GIVEN extends WebDriverFixtures<?>,​WHEN extends WebDriverActions<?>,​THEN extends WebDriverVerifications<?>>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ThreadLocal<dev.aherscu.qa.jgiven.commons.utils.WebDriverEx> webDriver
      WebDriver client to be managed by this scenario.
      • Fields inherited from class dev.aherscu.qa.jgiven.commons.utils.ConfigurableScenarioTest

        concurrency, configurationType, INTERNAL_DATA_PROVIDER, issuedRandomIds, randomId, startTime, USE_FIRST_PARAM
      • Fields inherited from class dev.aherscu.qa.jgiven.commons.model.TypedScenarioTest

        EPOCH_MILLI_64
    • Field Detail

      • webDriver

        protected final ThreadLocal<dev.aherscu.qa.jgiven.commons.utils.WebDriverEx> webDriver
        WebDriver client to be managed by this scenario.
    • Constructor Detail

      • ApplicationPerMethodWebSessionTest

        protected ApplicationPerMethodWebSessionTest​(Class<C> configurationType)
    • Method Detail

      • afterMethodQuitWebDriver

        @AfterMethod(alwaysRun=true)
        protected void afterMethodQuitWebDriver()
        After each test method finishes, closes the managed WebDriver.
      • beforeMethodOpenWebDriver

        @BeforeMethod
        protected void beforeMethodOpenWebDriver()
        Before each test method begins execution, opens the managed WebDriver using WebDriverConfiguration.
      • starting_section

        protected final void starting_section()
        Scenario starting section that uses the managed WebDriver.