Package org.alfresco.utility.web
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 Summary
FieldsModifier and TypeFieldDescriptionprotected static final ThreadLocal<WebBrowser>protected org.slf4j.LoggerFields inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
applicationContext, logger -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.test.context.testng.AbstractTestNGSpringContextTests
run, setApplicationContext, springTestContextAfterTestClass, springTestContextAfterTestMethod, springTestContextBeforeTestClass, springTestContextBeforeTestMethod, springTestContextPrepareTestInstance
-
Field Details
-
browserThread
-
LOG
protected org.slf4j.Logger LOG
-
-
Constructor Details
-
AbstractWebTest
public AbstractWebTest()
-
-
Method Details
-
initializeBeans
- Throws:
Exception
-
defineBrowser
- Throws:
Exception
-
closeBrowser
@AfterClass(alwaysRun=true) public void closeBrowser() -
startTest
- Throws:
Exception
-
endTest
@AfterMethod(alwaysRun=true) public void endTest(Method method, org.testng.ITestResult result) throws Exception - Throws:
Exception
-
getBrowser
-
getPageObjectRootPackage
-