Class AbstractWebTest

java.lang.Object
org.springframework.test.context.testng.AbstractTestNGSpringContextTests
org.alfresco.utility.web.AbstractWebTest
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.testng.IHookable, org.testng.ITestNGListener

public abstract class AbstractWebTest extends org.springframework.test.context.testng.AbstractTestNGSpringContextTests
Created by Claudia Agache on 3/9/2017.
  • Field Details

    • browserThread

      protected static final ThreadLocal<WebBrowser> browserThread
    • LOG

      protected org.slf4j.Logger LOG
  • Constructor Details

    • AbstractWebTest

      public AbstractWebTest()
  • Method Details

    • initializeBeans

      @BeforeSuite(alwaysRun=true) public void initializeBeans() throws Exception
      Throws:
      Exception
    • defineBrowser

      @BeforeClass(alwaysRun=true) public void defineBrowser() throws Exception
      Throws:
      Exception
    • closeBrowser

      @AfterClass(alwaysRun=true) public void closeBrowser()
    • startTest

      @BeforeMethod(alwaysRun=true) public void startTest(Method method) throws Exception
      Throws:
      Exception
    • endTest

      @AfterMethod(alwaysRun=true) public void endTest(Method method, org.testng.ITestResult result) throws Exception
      Throws:
      Exception
    • getBrowser

      public static WebBrowser getBrowser()
    • getPageObjectRootPackage

      public abstract String getPageObjectRootPackage()