Class ConfluenceTestedProduct
- java.lang.Object
-
- com.atlassian.confluence.pageobjects.selenium3.ConfluenceTestedProduct
-
- All Implemented Interfaces:
com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
@Deprecated public class ConfluenceTestedProduct extends Object implements com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
Deprecated.in 5.8. UseConfluenceTestedProduct
instead from maven modulecom.atlassian.confluence:confluence-webdriver-pageobjects
. See the new README.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfluenceTestedProduct.LoginType
Deprecated.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <M extends com.atlassian.pageobjects.Page>
MautoLoginEmbeddingCredentialsInUrl(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.com.atlassian.pageobjects.PageBinder
getPageBinder()
Deprecated.com.atlassian.pageobjects.ProductInstance
getProductInstance()
Deprecated.com.atlassian.webdriver.pageobjects.WebDriverTester
getTester()
Deprecated.DashboardPage
gotoHomePage()
Deprecated.<M extends com.atlassian.pageobjects.Page>
Mlogin(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.<P extends com.atlassian.pageobjects.Page>
Pvisit(Class<P> pageClass, Object... args)
Deprecated.com.atlassian.pageobjects.page.LoginPage
visitPageExpectingLogin(Class<? extends com.atlassian.pageobjects.Page> destination, Object... args)
Deprecated.
-
-
-
Constructor Detail
-
ConfluenceTestedProduct
public ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance)
Deprecated.
-
ConfluenceTestedProduct
public ConfluenceTestedProduct(com.atlassian.pageobjects.TestedProductFactory.TesterFactory<com.atlassian.webdriver.pageobjects.WebDriverTester> testerFactory, com.atlassian.pageobjects.ProductInstance productInstance, ConfluenceTestedProduct.LoginType loginType)
Deprecated.
-
-
Method Detail
-
gotoHomePage
public DashboardPage gotoHomePage()
Deprecated.
-
visitPageExpectingLogin
public com.atlassian.pageobjects.page.LoginPage visitPageExpectingLogin(Class<? extends com.atlassian.pageobjects.Page> destination, Object... args)
Deprecated.
-
login
public <M extends com.atlassian.pageobjects.Page> M login(User user, Class<M> destination, Object... args)
Deprecated.
-
autoLoginEmbeddingCredentialsInUrl
public <M extends com.atlassian.pageobjects.Page> M 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.
-
loginAndEdit
public EditContentPage loginAndEdit(User user, BlogPost blog)
Deprecated.
-
loginAndEdit
public EditContentPage loginAndEdit(User user, Draft draft)
Deprecated.
-
loginAndEdit
public EditContentPage loginAndEdit(User user, Page page)
Deprecated.
-
loginAndCreatePage
public CreatePage loginAndCreatePage(User user, Space space)
Deprecated.
-
loginAndCreatePageTemplate
public CreatePageTemplate loginAndCreatePageTemplate(User user, Space space)
Deprecated.
-
loginAndCreateBlog
public CreateBlog loginAndCreateBlog(User user, Space space)
Deprecated.
-
logOut
public LogoutPage logOut()
Deprecated.
-
logOutFast
public void logOutFast()
Deprecated.
-
deleteAllCookies
public void deleteAllCookies()
Deprecated.
-
clearLocalStorage
public void clearLocalStorage()
Deprecated.
-
visit
public <P extends com.atlassian.pageobjects.Page> P visit(Class<P> pageClass, Object... args)
Deprecated.- Specified by:
visit
in interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
loginAndViewRestricted
public ViewRestrictedPage loginAndViewRestricted(User user, AbstractPageEntity page)
Deprecated.
-
loginAndEditRestricted
public EditRestrictedPage loginAndEditRestricted(User user, AbstractPageEntity page)
Deprecated.
-
getPageBinder
public com.atlassian.pageobjects.PageBinder getPageBinder()
Deprecated.- Specified by:
getPageBinder
in interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
getProductInstance
public com.atlassian.pageobjects.ProductInstance getProductInstance()
Deprecated.- Specified by:
getProductInstance
in interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
getTester
public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
Deprecated.- Specified by:
getTester
in interfacecom.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
-
refresh
public ConfluenceTestedProduct refresh()
Deprecated.Make the underlying driver refresh the current page, e.g. you change some config over XML-RPC.Be aware that all your
WebElement
s become stale, so make sure you either usePageElement
s or re-locate them after calling this method.- See Also:
ElementBy
,PageElementFinder
-
-