com.atlassian.jira.pageobjects
Class JiraTestedProduct

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

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

JIRA implementation of TestedProduct.

Since:
4.4

Constructor Summary
JiraTestedProduct(com.atlassian.pageobjects.ProductInstance productInstance)
           
JiraTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance)
           
 
Method Summary
 Backdoor backdoor()
           
 JIRAEnvironmentData environmentData()
           
 com.atlassian.pageobjects.PageBinder getPageBinder()
           
 com.atlassian.pageobjects.ProductInstance getProductInstance()
           
 com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
           
<P extends com.atlassian.pageobjects.Page>
P
goTo(Class<P> pageClass, Object... params)
          Synonyme to visit(Class, Object...).
 JiraAdminHomePage goToAdminHomePage()
           
 DashboardPage gotoHomePage()
           
 AdvancedSearch goToIssueNavigator()
           
 JiraLoginPage gotoLoginPage()
           
 ViewIssuePage goToViewIssue(String issueKey)
           
 com.google.inject.Injector injector()
           
 boolean isAt(Class<? extends com.atlassian.pageobjects.Page> page)
           
 JiraTestedProduct logout()
           
<P extends com.atlassian.pageobjects.Page>
P
visit(Class<P> pageClass, Object... args)
           
<P extends com.atlassian.pageobjects.Page>
com.atlassian.pageobjects.DelayedBinder<P>
visitDelayed(Class<P> pageClass, Object... args)
           
 WindowSession windowSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraTestedProduct

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

JiraTestedProduct

public JiraTestedProduct(com.atlassian.pageobjects.ProductInstance productInstance)
Method Detail

gotoHomePage

public DashboardPage gotoHomePage()

goToAdminHomePage

public JiraAdminHomePage goToAdminHomePage()

gotoLoginPage

public JiraLoginPage gotoLoginPage()

goToViewIssue

public ViewIssuePage goToViewIssue(String issueKey)

goToIssueNavigator

public AdvancedSearch goToIssueNavigator()

goTo

public <P extends com.atlassian.pageobjects.Page> P goTo(Class<P> pageClass,
                                                         Object... params)
Synonyme to visit(Class, Object...).

Type Parameters:
P - page type
Parameters:
pageClass - page class
params - params
Returns:
page instance

logout

public JiraTestedProduct logout()

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>

visitDelayed

public <P extends com.atlassian.pageobjects.Page> com.atlassian.pageobjects.DelayedBinder<P> visitDelayed(Class<P> pageClass,
                                                                                                          Object... args)

isAt

public boolean isAt(Class<? extends com.atlassian.pageobjects.Page> page)

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>

environmentData

public JIRAEnvironmentData environmentData()

backdoor

public Backdoor backdoor()

injector

public com.google.inject.Injector injector()

windowSession

public WindowSession windowSession()


Copyright © 2002-2012 Atlassian. All Rights Reserved.