Package com.intuit.karate.robot.win
Class WinRobot
- java.lang.Object
-
- com.intuit.karate.robot.RobotBase
-
- com.intuit.karate.robot.win.WinRobot
-
-
Field Summary
Fields Modifier and Type Field Description protected static IUIAutomationUIA-
Fields inherited from class com.intuit.karate.robot.RobotBase
autoClose, autoDelay, command, currentWindow, debug, dimension, engine, highlight, highlightDuration, logger, options, robot, screen, screenshotOnFailure, tessData, tessLang, toolkit
-
Fields inherited from interface com.intuit.karate.robot.Robot
METHOD_NAMES
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>afterScenario()List<Window>getAllWindows()ElementgetFocused()ElementgetRoot()List<Element>locateAllInternal(Element root, String locator)ElementlocateInternal(Element root, String locator)Robotmove(int x, int y)static WinRobotstart(Map<String,Object> options)protected List<Element>toElements(IUIAutomationElementArray array)protected ElementwindowInternal(String title)protected ElementwindowInternal(java.util.function.Predicate<String> condition)-
Methods inherited from class com.intuit.karate.robot.RobotBase
activate, clearFocused, click, click, click, click, debugImage, delay, disableRetry, doubleClick, enableRetry, exists, focus, getActive, getClipboard, getHighlightDuration, getLocation, getLogger, getSearchRoot, highlight, highlightAll, input, input, input, input, input, locate, locate, locateAll, locateAll, locateAllImages, locateAllText, locateImage, locateImage, locateText, location, move, onFailure, optional, optional, press, press, region, release, release, retry, retry, retry, retry, retryForAny, rightClick, screenshot, screenshot, screenshot, screenshotActive, select, setActive, setBasePath, setDebug, setHighlight, setHighlightDuration, waitFor, waitForAny, waitForAny, waitForOptional, waitForWindowOptional, waitForWindowOptional, waitUntil, waitUntil, waitUntilOptional, window, window, windowExists, windowOptional
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.intuit.karate.robot.Robot
methodNames
-
-
-
-
Field Detail
-
UIA
protected static final IUIAutomation UIA
-
-
Method Detail
-
windowInternal
protected Element windowInternal(String title)
- Specified by:
windowInternalin classRobotBase
-
windowInternal
protected Element windowInternal(java.util.function.Predicate<String> condition)
- Specified by:
windowInternalin classRobotBase
-
toElements
protected List<Element> toElements(IUIAutomationElementArray array)
-
locateAllInternal
public List<Element> locateAllInternal(Element root, String locator)
- Specified by:
locateAllInternalin classRobotBase
-
locateInternal
public Element locateInternal(Element root, String locator)
- Specified by:
locateInternalin classRobotBase
-
getRoot
public Element getRoot()
-
getFocused
public Element getFocused()
- Specified by:
getFocusedin interfaceRobot- Specified by:
getFocusedin classRobotBase
-
-