|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebTestContext
Encapsulates all context information a web test needs to know. A single entry point into the framework.
Method Summary | ||
---|---|---|
Browser |
browser()
Retrieve information about the browser used by this test. |
|
|
getPageObject(Class<P> componentType)
Get framework component of given type. |
|
GlobalPages |
globalPages()
Collection of JIRA global pages that may be used to start navigating within the test. |
|
PageObjectFactory |
pageObjectFactory()
A low-level interface for creating components of the framework. |
|
WebTestUi |
ui()
Expose APIs for common UI operations performed by web tests, e.g. |
Method Detail |
---|
PageObjectFactory pageObjectFactory()
getPageObject(Class)
instead.
<P extends PageObject> P getPageObject(Class<P> componentType)
P
- component type paramcomponentType
- class of the component to retrieve
IllegalArgumentException
- if this context does not support retrieval of components of
componentTypeGlobalPages globalPages()
GlobalPages
,
GlobalPage
,
GlobalPage.goTo()
Browser browser()
WebTestUi ui()
WebTestUi
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |