Package com.atlassian.bamboo.pageobjects
Class BambooTestedProduct
java.lang.Object
com.atlassian.bamboo.pageobjects.BambooTestedProduct
- All Implemented Interfaces:
BambooWebDriverTestedProduct
,com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
Constructor Summary
ConstructorDescriptionBambooTestedProduct
(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Fast login or change login to the new userorg.openqa.selenium.WebElement
com.atlassian.pageobjects.PageBinder
com.atlassian.pageobjects.ProductInstance
com.atlassian.webdriver.pageobjects.WebDriverTester
logout
(AbstractBambooPage currentPage) void
<P extends com.atlassian.pageobjects.Page>
P<P extends com.atlassian.pageobjects.Page>
com.atlassian.pageobjects.DelayedBinder<P>visitDelayed
(Class<P> pageClass, Object... args)
-
Constructor Details
-
BambooTestedProduct
public BambooTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance)
-
-
Method Details
-
fastLogin
Fast login or change login to the new user -
gotoHomePage
-
gotoAdminHomePage
-
gotoLoginPage
-
logout
-
logoutByUrl
public void logoutByUrl() -
visit
- Specified by:
visit
in interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
visitDelayed
-
getPageBinder
public com.atlassian.pageobjects.PageBinder getPageBinder()- Specified by:
getPageBinder
in interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
getProductInstance
public com.atlassian.pageobjects.ProductInstance getProductInstance()- Specified by:
getProductInstance
in interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
getTester
public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()- Specified by:
getTester
in interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
getDragHandleWithinElementId
- Specified by:
getDragHandleWithinElementId
in interfaceBambooWebDriverTestedProduct
-
dragAndDrop
public 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. Usually it is required to go a little behind the target element (depending on size of element) That's what overshoot values are - it seems both should be always != 0.- Specified by:
dragAndDrop
in interfaceBambooWebDriverTestedProduct
- Parameters:
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 axis
-