PF - The PageFactory
interface used to instantiate
Pages during tests.public class AbstractSuite<PF extends PageFactory> extends Object
PageFactory. This suite also
manages WebDriver instances,
by creating and configuring them before a test, and destroying them after a
test.| Constructor and Description |
|---|
AbstractSuite() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMethod(org.testng.ITestResult testResult) |
void |
beforeMethod(Method method) |
protected PF |
getPageFactory()
Returns an implementation of the
PageFactory passed as a Type
parameter to this Suite. |
protected PF getPageFactory()
PageFactory passed as a Type
parameter to this Suite. All methods of the factory should return
instances of Page.PageFactory.public void beforeMethod(Method method)
public void afterMethod(org.testng.ITestResult testResult)
throws IOException
IOExceptionCopyright © 2015. All rights reserved.