com.atlassian.crowd.pageobjects
Class CrowdTestedProduct

java.lang.Object
  extended by com.atlassian.crowd.pageobjects.CrowdTestedProduct
All Implemented Interfaces:
com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>

public class CrowdTestedProduct
extends Object
implements com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>

CrowdTestedProduct (or TestedProduct<...>) contains the configuration of the product for testing with PageObjects, especially the base URL that is used to execute the tests.


Constructor Summary
CrowdTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance)
           
 
Method Summary
 com.atlassian.pageobjects.PageBinder getPageBinder()
           
 com.atlassian.pageobjects.ProductInstance getProductInstance()
           
 com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
           
<P extends com.atlassian.pageobjects.Page>
P
visit(Class<P> pageClass, Object... args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrowdTestedProduct

public CrowdTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory,
                          com.atlassian.pageobjects.ProductInstance productInstance)
Method Detail

visit

public <P extends com.atlassian.pageobjects.Page> P visit(Class<P> pageClass,
                                                          Object... args)
Specified by:
visit in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>

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>


Copyright © 2013 Atlassian. All Rights Reserved.