Class SmartAppDriver

java.lang.Object
org.uitnet.testing.smartfwk.ui.core.appdriver.SmartAppDriver

public class SmartAppDriver
extends Object
Author:
Madhav Krishna
  • Constructor Details

  • Method Details

    • setScrollElementToViewportHandler

      public void setScrollElementToViewportHandler​(ScrollElementToViewportHandler handler)
    • getScrollElementToViewportHandler

      public ScrollElementToViewportHandler getScrollElementToViewportHandler()
    • openAppIfNotOpened

      public org.openqa.selenium.WebDriver openAppIfNotOpened()
    • closeCurrentWindow

      public void closeCurrentWindow()
      Closes current window, if it is a last window then close the app.
    • closeApp

      public void closeApp()
      Closes all the windows associated with this app and the app itself.
    • getAppId

      public int getAppId()
    • getAppName

      public String getAppName()
    • getAppType

      public ApplicationType getAppType()
    • getTestPlatformType

      public PlatformType getTestPlatformType()
    • getWebDriver

      public org.openqa.selenium.WebDriver getWebDriver()
    • getAppConfig

      public AppConfig getAppConfig()
    • isOpened

      public boolean isOpened()
    • getOSName

      public String getOSName()
    • getSikuliScreen

      public org.sikuli.script.Screen getSikuliScreen()
    • openURL

      public void openURL​(String url)
    • openDefaultURL

      public void openDefaultURL()
    • waitForMilliSeconds

      public void waitForMilliSeconds​(long milliSeconds)
    • waitForSeconds

      public void waitForSeconds​(int seconds)
    • refresh

      public void refresh()
      Refreshes the web browser.
    • setFocus

      public void setFocus()
      This method is used to bring the window to front to perform the operation.