Class SwingDriverInternal


  • public class SwingDriverInternal
    extends SwingDriver
    ATS Internal Might be changed at any time Class to hide non-public methods
    • Constructor Detail

      • SwingDriverInternal

        public SwingDriverInternal​(Class<?> mainClassOfTestedApplication)
      • SwingDriverInternal

        public SwingDriverInternal​(Class<?> mainClassOfTestedApplication,
                                   String windowTitile)
        Parameters:
        mainClassOfTestedApplication - the class containing the "main" method
        windowTitile - the window title
      • SwingDriverInternal

        public SwingDriverInternal​(String windowTitile)
        Parameters:
        windowTitile - the window title
      • SwingDriverInternal

        public SwingDriverInternal​(String jnlpLocation,
                                   boolean cacheEnabled)
        Parameters:
        jnlpLocation - JNLP location. It can be local JNLP file path or a remote url
        cacheEnabled - whether the JNLP is cached or not
    • Method Detail

      • getWindowFixture

        public org.fest.swing.fixture.WindowFixture<?> getWindowFixture()
        Internal method. Might be changed at any time. Should not be used from tests
      • setWindowFixture

        public void setWindowFixture​(org.fest.swing.fixture.WindowFixture<?> windowFixture)
        Internal method. Might be changed at any time. Should not be used from tests
        Affects current container to search too.
      • getActiveContainerFixture

        public org.fest.swing.fixture.ContainerFixture<?> getActiveContainerFixture()
        Internal method. Might be changed at any time. Should not be used from tests
      • setActiveContainerFixture

        public void setActiveContainerFixture​(org.fest.swing.fixture.ContainerFixture<?> containerFixture)
        Internal method. Might be changed at any time. Should not be used from tests
        Changes current container as context to search for elements
      • getMainWindowTitle

        public String getMainWindowTitle()