ConfluenceTestedProduct
instead from
maven module com.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.@Deprecated public class ConfluenceTestedProduct extends Object implements com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
Modifier and Type | Class and Description |
---|---|
static class |
ConfluenceTestedProduct.LoginType
Deprecated.
|
Constructor and Description |
---|
ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory,
com.atlassian.pageobjects.ProductInstance productInstance)
Deprecated.
|
ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory,
com.atlassian.pageobjects.ProductInstance productInstance,
ConfluenceTestedProduct.LoginType loginType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<M extends com.atlassian.pageobjects.Page> |
autoLoginEmbeddingCredentialsInUrl(User user,
Class<M> destinationClass,
Object... args)
Deprecated.
Faster way of login when in testing environment by embedding the credentials in the url,
so we don't have to visit the login page every single time.
|
void |
clearLocalStorage()
Deprecated.
|
void |
deleteAllCookies()
Deprecated.
|
void |
deleteCookieNamed(String name)
Deprecated.
|
org.openqa.selenium.Cookie |
getCookieNamed(String name)
Deprecated.
|
com.atlassian.pageobjects.PageBinder |
getPageBinder()
Deprecated.
|
com.atlassian.pageobjects.ProductInstance |
getProductInstance()
Deprecated.
|
com.atlassian.webdriver.pageobjects.WebDriverTester |
getTester()
Deprecated.
|
ConfluenceAdminHomePage |
gotoAdminHomePage()
Deprecated.
|
DashboardPage |
gotoHomePage()
Deprecated.
|
ConfluenceLoginPage |
gotoLoginPage()
Deprecated.
|
Boolean |
isCookiePresent(String name)
Deprecated.
|
<M extends com.atlassian.pageobjects.Page> |
login(User user,
Class<M> destination,
Object... args)
Deprecated.
|
CopyPage |
loginAndCopyPage(User user,
Page page)
Deprecated.
|
CreateBlog |
loginAndCreateBlog(User user,
Space space)
Deprecated.
|
CreatePage |
loginAndCreatePage(User user,
Space space)
Deprecated.
|
CreatePageTemplate |
loginAndCreatePageTemplate(User user,
Space space)
Deprecated.
|
EditContentPage |
loginAndEdit(User user,
BlogPost blog)
Deprecated.
|
EditContentPage |
loginAndEdit(User user,
Draft draft)
Deprecated.
|
EditContentPage |
loginAndEdit(User user,
Page page)
Deprecated.
|
EditRestrictedPage |
loginAndEditRestricted(User user,
AbstractPageEntity page)
Deprecated.
|
ViewPage |
loginAndView(User user,
BlogPost blogPost)
Deprecated.
|
ViewPage |
loginAndView(User user,
Page page)
Deprecated.
|
ViewRestrictedPage |
loginAndViewRestricted(User user,
AbstractPageEntity page)
Deprecated.
|
LogoutPage |
logOut()
Deprecated.
|
void |
logOutFast()
Deprecated.
|
ConfluenceTestedProduct |
refresh()
Deprecated.
Make the underlying driver refresh the current page, e.g.
|
ViewPage |
viewPage(String pageId)
Deprecated.
|
PageInfo |
viewPageInfo(long pageId)
Deprecated.
|
<P extends com.atlassian.pageobjects.Page> |
visit(Class<P> pageClass,
Object... args)
Deprecated.
|
<P extends com.atlassian.pageobjects.Page> |
visitExternal(Class<P> pageClass,
Object... args)
Deprecated.
|
com.atlassian.pageobjects.page.LoginPage |
visitPageExpectingLogin(Class<? extends com.atlassian.pageobjects.Page> destination,
Object... args)
Deprecated.
|
public ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance)
public ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance, ConfluenceTestedProduct.LoginType loginType)
public DashboardPage gotoHomePage()
public com.atlassian.pageobjects.page.LoginPage visitPageExpectingLogin(Class<? extends com.atlassian.pageobjects.Page> destination, Object... args)
public ConfluenceAdminHomePage gotoAdminHomePage()
public ConfluenceLoginPage gotoLoginPage()
public <M extends com.atlassian.pageobjects.Page> M login(User user, Class<M> destination, Object... args)
public <M extends com.atlassian.pageobjects.Page> M autoLoginEmbeddingCredentialsInUrl(User user, Class<M> destinationClass, Object... args)
public EditContentPage loginAndEdit(User user, BlogPost blog)
public EditContentPage loginAndEdit(User user, Draft draft)
public EditContentPage loginAndEdit(User user, Page page)
public CreatePage loginAndCreatePage(User user, Space space)
public CreatePageTemplate loginAndCreatePageTemplate(User user, Space space)
public CreateBlog loginAndCreateBlog(User user, Space space)
public LogoutPage logOut()
public void logOutFast()
public void deleteAllCookies()
public void deleteCookieNamed(String name)
public org.openqa.selenium.Cookie getCookieNamed(String name)
public void clearLocalStorage()
public <P extends com.atlassian.pageobjects.Page> P visitExternal(Class<P> pageClass, Object... args)
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 PageInfo viewPageInfo(long pageId)
public ViewRestrictedPage loginAndViewRestricted(User user, AbstractPageEntity page)
public EditRestrictedPage loginAndEditRestricted(User user, AbstractPageEntity 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 ConfluenceTestedProduct refresh()
Be aware that all your WebElement
s become stale, so make sure you either use PageElement
s or
re-locate them after calling this method.
ElementBy
,
PageElementFinder
Copyright © 2003–2015 Atlassian. All rights reserved.