Class 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. Use ConfluenceTestedProduct instead from maven module com.atlassian.confluence:confluence-webdriver-pageobjects. See the new README.
    • 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

      • 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.
      • loginAndCreatePage

        public CreatePage loginAndCreatePage​(User user,
                                             Space space)
        Deprecated.
      • loginAndCopyPage

        public CopyPage loginAndCopyPage​(User user,
                                         Page page)
        Deprecated.
      • loginAndCreateBlog

        public CreateBlog loginAndCreateBlog​(User user,
                                             Space space)
        Deprecated.
      • loginAndView

        public ViewPage loginAndView​(User user,
                                     Page page)
        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 interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
      • getPageBinder

        public com.atlassian.pageobjects.PageBinder getPageBinder()
        Deprecated.
        Specified by:
        getPageBinder in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
      • getProductInstance

        public com.atlassian.pageobjects.ProductInstance getProductInstance()
        Deprecated.
        Specified by:
        getProductInstance in interface com.atlassian.pageobjects.TestedProduct<com.atlassian.webdriver.pageobjects.WebDriverTester>
      • getTester

        public com.atlassian.webdriver.pageobjects.WebDriverTester getTester()
        Deprecated.
        Specified by:
        getTester in interface com.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 WebElements become stale, so make sure you either use PageElements or re-locate them after calling this method.

        See Also:
        ElementBy, PageElementFinder