com.atlassian.jira.webtest.framework.impl.selenium.page
Class SeleniumAbstractGlobalPage<T extends GlobalPage<T>>

java.lang.Object
  extended by com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
      extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
          extended by com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
              extended by com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
                  extended by com.atlassian.jira.webtest.framework.impl.selenium.page.SeleniumAbstractGlobalPage<T>
All Implemented Interfaces:
PageObject, GlobalPage<T>, Page
Direct Known Subclasses:
DashboardImpl, SeleniumAdministrationPage, SeleniumIssueNav

public abstract class SeleniumAbstractGlobalPage<T extends GlobalPage<T>>
extends AbstractSeleniumPage
implements Page, GlobalPage<T>

Abstract representation of the GlobalPage interface, defined in terms of linkLocator() provided by subclasses.

Since:
v4.2

Field Summary
 
Fields inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
assertThat, client, context, timeouts
 
Constructor Summary
protected SeleniumAbstractGlobalPage(Class<T> targetType, SeleniumContext ctx)
           
 
Method Summary
protected  T asTargetType()
           
 T goTo()
          Go to itself.
protected abstract  Locator linkLocator()
          Locator of a globally accessible link leading to this page.
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.page.AbstractSeleniumPage
isAt
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractLocatorBasedPageObject
detector, isReady
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.AbstractSeleniumPageObject
body, conditions, css, forClass, id, jQuery, locatorFor, name, queries, waitFor, xpath
 
Methods inherited from class com.atlassian.jira.webtest.framework.impl.selenium.core.SeleniumContextAware
context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.jira.webtest.framework.page.Page
isAt
 
Methods inherited from interface com.atlassian.jira.webtest.framework.core.PageObject
context, isReady
 

Constructor Detail

SeleniumAbstractGlobalPage

protected SeleniumAbstractGlobalPage(Class<T> targetType,
                                     SeleniumContext ctx)
Method Detail

goTo

public final T goTo()
Description copied from interface: GlobalPage
Go to itself.

Specified by:
goTo in interface GlobalPage<T extends GlobalPage<T>>
Returns:
this global page instance.

linkLocator

protected abstract Locator linkLocator()
Locator of a globally accessible link leading to this page.

Returns:
global link locator

asTargetType

protected final T asTargetType()


Copyright © 2002-2013 Atlassian. All Rights Reserved.