Package com.intuit.karate.robot.win
Class WinElement
- java.lang.Object
-
- com.intuit.karate.robot.win.WinElement
-
-
Field Summary
Fields Modifier and Type Field Description protected IUIAutomationElemente
-
Constructor Summary
Constructors Constructor Description WinElement(WinRobot robot, IUIAutomationElement e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectas(String patternName)Elementclear()Elementclick()Elementdelay(int millis)Elementfocus()List<Element>getChildren()StringgetDebugString()ElementgetFirstChild()ElementgetLastChild()StringgetName()ElementgetNextSibling()ElementgetParent()ElementgetPreviousSibling()RegiongetRegion()RobotBasegetRobot()StringgetValue()Elementinput(String value)Elementinvoke()booleanisEnabled()booleanisImage()booleanisPresent()Elementmove()Elementpress()Objectproperty(int propertyId)Objectproperty(String propertyName)Elementrelease()Elementscroll(double horizontalPercent, double verticalPercent)ElementscrollDown()ElementscrollDown(boolean large)ElementscrollUp()ElementscrollUp(boolean large)Elementselect()IUIAutomationElementtoNative()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.intuit.karate.robot.Element
activate, click, click, debugCapture, debugExtract, debugExtract, doubleClick, exists, extract, extract, focus, getPosition, highlight, highlight, highlight, highlightAll, inset, locate, locateAll, move, optional, retry, retry, retry, screenshot, select, waitFor, waitForAny, waitForAny
-
-
-
-
Field Detail
-
e
protected final IUIAutomationElement e
-
-
Constructor Detail
-
WinElement
public WinElement(WinRobot robot, IUIAutomationElement e)
-
-
Method Detail
-
invoke
public Element invoke()
-
getChildren
public List<Element> getChildren()
- Specified by:
getChildrenin interfaceElement
-
getFirstChild
public Element getFirstChild()
-
getLastChild
public Element getLastChild()
-
getNextSibling
public Element getNextSibling()
-
getPreviousSibling
public Element getPreviousSibling()
-
toNative
public IUIAutomationElement toNative()
-
property
public Object property(int propertyId)
-
getDebugString
public String getDebugString()
- Specified by:
getDebugStringin interfaceElement
-
scrollDown
public Element scrollDown()
-
scrollUp
public Element scrollUp()
-
scrollDown
public Element scrollDown(boolean large)
-
scrollUp
public Element scrollUp(boolean large)
-
scroll
public Element scroll(double horizontalPercent, double verticalPercent)
-
-