com.atlassian.webdriver.confluence
Class ConfluenceTestedProduct
java.lang.Object
com.atlassian.webdriver.confluence.ConfluenceTestedProduct
- All Implemented Interfaces:
- TestedProduct<WebDriverTester>
public class ConfluenceTestedProduct
- extends Object
- implements TestedProduct<WebDriverTester>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceTestedProduct
public ConfluenceTestedProduct(TestedProductFactory.TesterFactory<WebDriverTester> testerFactory,
ProductInstance productInstance)
gotoHomePage
public DashboardPage gotoHomePage()
gotoAdminHomePage
public ConfluenceAdminHomePage gotoAdminHomePage()
gotoLoginPage
public ConfluenceLoginPage gotoLoginPage()
visit
public <P extends Page> P visit(Class<P> pageClass,
Object... args)
- Description copied from interface:
TestedProduct
- Constructs the page object, changes the browser URL to the desired page URL, then binds the object to the page.
- Specified by:
visit in interface TestedProduct<WebDriverTester>
- Type Parameters:
P - The page type- Parameters:
pageClass - The page classargs - Arguments to pass to the page object constructor.
- Returns:
- The constructed and fully loaded page with the browser set accordingly
getPageBinder
public PageBinder getPageBinder()
- Specified by:
getPageBinder in interface TestedProduct<WebDriverTester>
- Returns:
- The page binder for visiting pages and binding page objects
getProductInstance
public ProductInstance getProductInstance()
- Specified by:
getProductInstance in interface TestedProduct<WebDriverTester>
- Returns:
- Information about the instance being tested
getTester
public WebDriverTester getTester()
- Specified by:
getTester in interface TestedProduct<WebDriverTester>
- Returns:
- The tester being used
getLoggedInUsername
public String getLoggedInUsername()
getLoggedInPassword
public String getLoggedInPassword()
setLoggedInUser
public void setLoggedInUser(String loggedInUsername,
String password)
Copyright © 2014 Atlassian. All rights reserved.