com.atlassian.confluence.qunit.pageobjects
Class UnitTestedProduct

java.lang.Object
  extended by com.atlassian.confluence.qunit.pageobjects.UnitTestedProduct
All Implemented Interfaces:
QUnitTestProduct, com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>

public class UnitTestedProduct
extends Object
implements QUnitTestProduct


Constructor Summary
UnitTestedProduct()
           
 
Method Summary
 com.atlassian.pageobjects.PageBinder getPageBinder()
           
 com.atlassian.pageobjects.ProductInstance getProductInstance()
           
 com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
           
 void login(User user)
           
 void logout()
           
 QUnitUnitTestPage runTest(Map<String,Object> args)
           
<P extends com.atlassian.pageobjects.Page>
P
visit(Class<P> pClass, Object... objects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitTestedProduct

public UnitTestedProduct()
Method Detail

login

public void login(User user)
Specified by:
login in interface QUnitTestProduct

logout

public void logout()
Specified by:
logout in interface QUnitTestProduct

runTest

public QUnitUnitTestPage runTest(Map<String,Object> args)
Specified by:
runTest in interface QUnitTestProduct

visit

public <P extends com.atlassian.pageobjects.Page> P visit(Class<P> pClass,
                                                          Object... objects)
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 © 2003-2012 Atlassian. All Rights Reserved.