com.atlassian.bamboo.pageobjects
Class BambooTestedProduct
java.lang.Object
com.atlassian.bamboo.pageobjects.BambooTestedProduct
- All Implemented Interfaces:
- com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public class BambooTestedProduct
- extends java.lang.Object
- implements com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
Constructor Summary |
BambooTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory,
com.atlassian.pageobjects.ProductInstance productInstance)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BambooTestedProduct
public BambooTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory,
com.atlassian.pageobjects.ProductInstance productInstance)
gotoHomePage
public BambooDashboardPage gotoHomePage()
gotoAdminHomePage
public BambooAdminHomePage gotoAdminHomePage()
gotoLoginPage
public BambooLoginPage gotoLoginPage()
logout
public BambooDashboardPage logout(AbstractBambooPage currentPage)
goTo
public <P extends com.atlassian.pageobjects.Page> P goTo(java.lang.Class<P> pageClass,
java.lang.Object... args)
- Synonym for
visit(Class, Object...)
.
- Type Parameters:
P
- page type- Parameters:
pageClass
- page classargs
- arguments
- Returns:
- instance of the page the test has just navigated to
- See Also:
visit(Class, Object...)
visit
public <P extends com.atlassian.pageobjects.Page> P visit(java.lang.Class<P> pageClass,
java.lang.Object... args)
- Specified by:
visit
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
visitDelayed
public <P extends com.atlassian.pageobjects.Page> com.atlassian.pageobjects.DelayedBinder<P> visitDelayed(java.lang.Class<P> pageClass,
java.lang.Object... args)
getPageBinder
public com.atlassian.pageobjects.PageBinder getPageBinder()
- Specified by:
getPageBinder
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
getProductInstance
public com.atlassian.pageobjects.ProductInstance getProductInstance()
- Specified by:
getProductInstance
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
getTester
public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
- Specified by:
getTester
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
getLoggedInUsername
public java.lang.String getLoggedInUsername()
Copyright © 2012 Atlassian. All Rights Reserved.