public class BambooTestedProduct extends Object implements com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
Constructor and Description |
---|
BambooTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory,
com.atlassian.pageobjects.ProductInstance productInstance) |
Modifier and Type | Method and Description |
---|---|
void |
dragAndDrop(org.openqa.selenium.WebElement fromHandle,
org.openqa.selenium.WebElement toHandle,
int overshootByX,
int overshootByY)
This will drag and drop given handle behind another handle.
|
void |
fastLogin(TestUser user)
Fast login or change login to the new user
|
org.openqa.selenium.WebElement |
getDragHandleWithinElementId(String id) |
com.atlassian.pageobjects.PageBinder |
getPageBinder() |
com.atlassian.pageobjects.ProductInstance |
getProductInstance() |
com.atlassian.webdriver.pageobjects.WebDriverTester |
getTester() |
BambooAdminHomePage |
gotoAdminHomePage() |
BambooDashboardPage |
gotoHomePage() |
BambooLoginPage |
gotoLoginPage() |
BambooDashboardPage |
logout(AbstractBambooPage currentPage) |
void |
logoutByUrl() |
<P extends com.atlassian.pageobjects.Page> |
visit(Class<P> pageClass,
Object... args) |
<P extends com.atlassian.pageobjects.Page> |
visitDelayed(Class<P> pageClass,
Object... args) |
public BambooTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance)
public void fastLogin(TestUser user)
public BambooDashboardPage gotoHomePage()
public BambooAdminHomePage gotoAdminHomePage()
public BambooLoginPage gotoLoginPage()
public BambooDashboardPage logout(AbstractBambooPage currentPage)
public void logoutByUrl()
public <P extends com.atlassian.pageobjects.Page> P visit(Class<P> pageClass, Object... args)
visit
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public <P extends com.atlassian.pageobjects.Page> com.atlassian.pageobjects.DelayedBinder<P> visitDelayed(Class<P> pageClass, Object... args)
public com.atlassian.pageobjects.PageBinder getPageBinder()
getPageBinder
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public com.atlassian.pageobjects.ProductInstance getProductInstance()
getProductInstance
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
getTester
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public org.openqa.selenium.WebElement getDragHandleWithinElementId(String id)
public void dragAndDrop(org.openqa.selenium.WebElement fromHandle, org.openqa.selenium.WebElement toHandle, int overshootByX, int overshootByY)
fromHandle
- element to movetoHandle
- element to move behindovershootByX
- drag that many pixels after target element in X axisovershootByY
- drag that many pixels after target element in Y axisCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.