Class SwingDriverInternal
- java.lang.Object
-
- com.axway.ats.uiengine.UiDriver
-
- com.axway.ats.uiengine.SwingDriver
-
- com.axway.ats.uiengine.internal.driver.SwingDriverInternal
-
public class SwingDriverInternal extends SwingDriver
ATS Internal Might be changed at any time Class to hide non-public methods
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.SwingDriver
currentContainer, isJnlpCached, jnlpLocation, windowFixture, windowTitle
-
-
Constructor Summary
Constructors Constructor Description SwingDriverInternal(Class<?> mainClassOfTestedApplication)SwingDriverInternal(Class<?> mainClassOfTestedApplication, String windowTitile)SwingDriverInternal(String windowTitile)SwingDriverInternal(String jnlpLocation, boolean cacheEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.fest.swing.fixture.ContainerFixture<?>getActiveContainerFixture()Internal method. Might be changed at any time.StringgetMainWindowTitle()org.fest.swing.fixture.WindowFixture<?>getWindowFixture()Internal method. Might be changed at any time.voidsetActiveContainerFixture(org.fest.swing.fixture.ContainerFixture<?> containerFixture)Internal method. Might be changed at any time.voidsetWindowFixture(org.fest.swing.fixture.WindowFixture<?> windowFixture)Internal method. Might be changed at any time.-
Methods inherited from class com.axway.ats.uiengine.SwingDriver
getSwingEngine, setCommandDelay, start, stop, stop
-
Methods inherited from class com.axway.ats.uiengine.UiDriver
getChromeDriver, getChromeDriver, getCustomDriver, getEdgeDriver, getEdgeDriver, getFirefoxDriver, getFirefoxDriver, getFirefoxDriver, getHiddenBrowserDriver, getHiddenBrowserDriver, getInternetExplorerDriver, getInternetExplorerDriver, getMobileDriver, getMobileDriver, getPhantomJSDriver, getRobotDriver, getSafariDriver, getSafariDriver, getSwingDriver, getSwingDriver, getSwingDriver, getSwingDriver
-
-
-
-
Constructor Detail
-
SwingDriverInternal
public SwingDriverInternal(Class<?> mainClassOfTestedApplication)
-
SwingDriverInternal
public SwingDriverInternal(Class<?> mainClassOfTestedApplication, String windowTitile)
- Parameters:
mainClassOfTestedApplication- the class containing the "main" methodwindowTitile- 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 urlcacheEnabled- 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()
-
-