public class JiraTestedProduct extends Object implements com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
TestedProduct
.Modifier and Type | Field and Description |
---|---|
static String |
TEST_ONDEMAND_PROPERTY |
static String |
TEST_SKIP_INSTANCE_SETUP_PROPERTY |
Constructor and Description |
---|
JiraTestedProduct(com.atlassian.pageobjects.ProductInstance productInstance) |
JiraTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory,
com.atlassian.pageobjects.ProductInstance productInstance) |
Modifier and Type | Method and Description |
---|---|
Backdoor |
backdoor() |
JIRAEnvironmentData |
environmentData() |
UserCredentials |
getAdminCredentials() |
protected String |
getEnvironmentProperty(String key,
String defaultValue) |
protected String |
getEnvironmentProperty(String key,
String defaultValue,
boolean allowEmpty) |
com.atlassian.pageobjects.PageBinder |
getPageBinder() |
com.atlassian.pageobjects.ProductInstance |
getProductInstance() |
UserCredentials |
getSysadminCredentials() |
com.atlassian.webdriver.pageobjects.WebDriverTester |
getTester() |
<P extends com.atlassian.pageobjects.Page> |
goTo(Class<P> pageClass,
Object... params)
Synonym for
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) |
boolean |
isOnDemand() |
JiraTestedProduct |
logout() |
void |
quickLogin(String username,
String password) |
<P extends com.atlassian.pageobjects.Page> |
quickLogin(String username,
String password,
Class<P> pageClass,
Object... args) |
void |
quickLoginAsAdmin() |
<P extends com.atlassian.pageobjects.Page> |
quickLoginAsAdmin(Class<P> pageClass,
Object... args) |
void |
quickLoginAsSysadmin() |
<P extends com.atlassian.pageobjects.Page> |
quickLoginAsSysadmin(Class<P> pageClass,
Object... args) |
boolean |
shouldSkipSetup() |
<P extends com.atlassian.pageobjects.Page> |
visit(Class<P> pageClass,
Object... args) |
<P extends com.atlassian.pageobjects.Page> |
visitDelayed(Class<P> pageClass,
Object... args) |
WindowSession |
windowSession() |
public static final String TEST_ONDEMAND_PROPERTY
public static final String TEST_SKIP_INSTANCE_SETUP_PROPERTY
public JiraTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance)
public JiraTestedProduct(com.atlassian.pageobjects.ProductInstance productInstance)
protected String getEnvironmentProperty(String key, String defaultValue, boolean allowEmpty)
public DashboardPage gotoHomePage()
public JiraAdminHomePage goToAdminHomePage()
public <P extends com.atlassian.pageobjects.Page> P quickLogin(String username, String password, Class<P> pageClass, Object... args)
public void quickLoginAsSysadmin()
public <P extends com.atlassian.pageobjects.Page> P quickLoginAsSysadmin(Class<P> pageClass, Object... args)
public void quickLoginAsAdmin()
public <P extends com.atlassian.pageobjects.Page> P quickLoginAsAdmin(Class<P> pageClass, Object... args)
public JiraLoginPage gotoLoginPage()
public ViewIssuePage goToViewIssue(String issueKey)
public AdvancedSearch goToIssueNavigator()
public <P extends com.atlassian.pageobjects.Page> P goTo(Class<P> pageClass, Object... params)
visit(Class, Object...)
.P
- page typepageClass
- page classparams
- paramspublic JiraTestedProduct logout()
public <P extends com.atlassian.pageobjects.Page> P visit(Class<P> pageClass, Object... args)
visit
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public <P extends com.atlassian.pageobjects.Page> com.atlassian.pageobjects.DelayedBinder<P> visitDelayed(Class<P> pageClass, Object... args)
public boolean isAt(Class<? extends com.atlassian.pageobjects.Page> page)
public com.atlassian.pageobjects.PageBinder getPageBinder()
getPageBinder
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public com.atlassian.pageobjects.ProductInstance getProductInstance()
getProductInstance
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
getTester
in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
public JIRAEnvironmentData environmentData()
public Backdoor backdoor()
public com.google.inject.Injector injector()
public WindowSession windowSession()
public boolean shouldSkipSetup()
public boolean isOnDemand()
public UserCredentials getAdminCredentials()
public UserCredentials getSysadminCredentials()
Copyright © 2002-2017 Atlassian. All Rights Reserved.