public class HtmlGuiProxy extends HtmlProxy
This class further contains the default implementation of various base class methods that proxy implementations may need to extend or override.
GuiTestObject
Type | Desciption | |
---|---|---|
text | Visible Text | ITestDataText |
Property | Usage |
---|---|
.bounds | A rectangle representing the bounding rectangle of the object in screen coordinates. |
.class | This is the test object class name, for example "HtmlTable" for a <Table> element. |
.id | This is the value of the id attribute of an element. |
.name | This is the value of the name attribute (Form elements and Frames only) |
.offsetHeight | The height of the element. |
.offsetLeft | The offset of the element from its offset parent in the DOM. |
.offsetTop | The offset of the element from its offset parent in the DOM. |
.offsetWidth | The width of the element. |
.tag | This is the Html tag for the element |
.text | This is the text inside of the HTML tags for bounding the
element. For example, <A>This is an Anchor<IMG src=map.gif></a>
the text property will return "This is an
Anchor. All white space are combined and reduced to a single a
blank character if consecutive white space characters are found. |
.title | This is the value of the title attribute of an element. This is frequently the text displayed when hovering over the element with the mouse. |
Modifier and Type | Class and Description |
---|---|
protected class |
HtmlGuiProxy.Clicker |
protected class |
HtmlGuiProxy.DoubleClicker |
protected class |
HtmlGuiProxy.Dragger |
protected class |
HtmlGuiProxy.Hoverer |
protected class |
HtmlGuiProxy.nClickDragger |
protected class |
HtmlGuiProxy.nClicker |
protected class |
HtmlGuiProxy.PointIterator
PointIterator class is an internal class used to iterate over the points
in a rectangle which may be tried for clicking.
|
HtmlProxy.GetObjectRunnable, HtmlProxy.HtmlElementEnumeration, HtmlProxy.IntegerByReference, HtmlProxy.InvalidNativeHandleException, HtmlProxy.JSObjectHtmlElementEnumeration, HtmlProxy.NativeProxyReleasedException
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
currentMethod |
protected static MouseModifiers |
LEFT |
static java.lang.String |
OFFSETHEIGHTPROPERTY |
static java.lang.String |
OFFSETLEFTPROPERTY |
static java.lang.String |
OFFSETRECTPROPERTY |
static java.lang.String |
OFFSETTOPPROPERTY |
static java.lang.String |
OFFSETWIDTHPROPERTY |
BOUNDSPROPERTY, channel, CLASSINDEX, CLASSPROPERTY, CLIENTRECTPROPERTY, debug, DISABLEDPROPERTY, DOCCLASSINDEX, dojoProps, domain, HTMLPROXYCHANNELRUNNABLE_TIMEOUTVALUE, IDPROPERTY, isSiebelActive, jswarapper, NAMEPROPERTY, parentsTextDescendantsMayBeInteresting, READONLYPROPERTY, TAGPROPERTY, TESTDATA_TEXT, TEXTPROPERTY, TITLEPROPERTY, UNIQUEIDPROPERTY
BROWSERTABTESTOBJECT_CLASSNAME, BROWSERTESTOBJECT_CLASSNAME, COLORDIALOGTESTOBJECT_CLASSNAME, CROSSDOMAINCONTAINER_CLASSNAME, DOCUMENTTESTOBJECT_CLASSNAME, DOMAINTESTOBJECT_CLASSNAME, ECLIPSETOPLEVELTESTOBJECT_CLASSNAME, EMBEDDEDBROWSERTESTOBJECT_CLASSNAME, FILEDIALOGTESTOBJECT_CLASSNAME, FRAMESUBITEMTESTOBJECT_CLASSNAME, FRAMETESTOBJECT_CLASSNAME, GEFEDITPARTTESTOBJECT_CLASSNAME, GUISUBITEMTESTOBJECT_CLASSNAME, GUITESTOBJECT_CLASSNAME, INTERNALFRAMETESTOBJECT_CLASSNAME, MESSAGEBOXTESTOBJECT_CLASSNAME, PALETTEGUISUBITEMTESTOBJECT_CLASSNAME, PROCESSTESTOBJECT_CLASSNAME, SCROLLSUBITEMTESTOBJECT_CLASSNAME, SCROLLTESTOBJECT_CLASSNAME, SELECTGUISUBITEMTESTOBJECT_CLASSNAME, SELECTSCROLLGUISUBITEMTESTOBJECT_CLASSNAME, SHELLTESTOBJECT_CLASSNAME, STATELESSGUISUBITEMTESTOBJECT_CLASSNAME, SUBITEMTESTOBJECT_CLASSNAME, TABITEMTESTOBJECT_CLASSNAME, TESTOBJECT_CLASSNAME, TEXTGUISUBITEMTESTOBJECT_CLASSNAME, TEXTGUITESTOBJECT_CLASSNAME, TEXTSCROLLTESTOBJECT_CLASSNAME, TEXTSELECTGUISUBITEMTESTOBJECT_CLASSNAME, TIMEOUTTESTOBJECT_CLASSNAME, TOGGLEGUITESTOBJECT_CLASSNAME, TOGGLETESTOBJECT_CLASSNAME, TOPLEVELSUBITEMTESTOBJECT_CLASSNAME, TOPLEVELTESTOBJECT_CLASSNAME, TRACKBARTESTOBJECT_CLASSNAME, vomClippedRectangle
CUSTOM_DOMAIN_LIST, DOJO_CUSTOM_DOMAIN_NAME, SAPWEBPORTAL_CUSTOM_DOMAIN_NAME
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS
Constructor and Description |
---|
HtmlGuiProxy(HtmlTestDomainImplementation domain,
IChannel channel,
long handle) |
HtmlGuiProxy(HtmlTestDomainImplementation domain,
IChannel channel,
long handle,
IBrowserCommunicator jswrap) |
Modifier and Type | Method and Description |
---|---|
protected void |
activateTopWindow() |
void |
click() |
void |
click(MouseModifiers modifiers) |
void |
click(MouseModifiers modifiers,
java.awt.Point pt) |
protected void |
clickAtScreenPoint(MouseModifiers modifiers,
java.awt.Point screenPoint)
Generate a click at the screen point.
|
void |
clickWithMouse(MouseModifiers modifiers) |
boolean |
clickWithOutMouse() |
boolean |
clickWithOutMouse(long handle) |
boolean |
clickWithOutMouse(MouseModifiers modifiers) |
boolean |
clickWithOutMouse(MouseModifiers modifiers,
long handle) |
boolean |
clickWithOutMouse(MouseModifiers modifiers,
java.awt.Point pt) |
boolean |
clickWithOutMouse(MouseModifiers modifiers,
java.awt.Point pt,
long handle) |
boolean |
clickWithOutMouseN(long handle) |
java.awt.Point |
convertFromScreenToOffset(java.awt.Point pt) |
void |
doScroll(HtmlGuiProxy subObject) |
void |
doubleClick() |
void |
doubleClick(MouseModifiers modifiers) |
void |
doubleClick(MouseModifiers modifiers,
java.awt.Point pt) |
protected void |
doubleClickAtScreenPoint(MouseModifiers modifiers,
java.awt.Point screenPoint) |
void |
drag() |
void |
drag(MouseModifiers modifiers) |
void |
drag(MouseModifiers modifiers,
java.awt.Point pt1,
java.awt.Point pt2) |
void |
drag(java.awt.Point pt1,
java.awt.Point pt2) |
protected void |
dragAtScreenPoint(MouseModifiers modifiers,
java.awt.Point screenPoint1,
java.awt.Point screenPoint2)
Generate a drag using the screen points.
|
void |
dragToScreenPoint(MouseModifiers modifiers,
java.awt.Point objectPoint,
java.awt.Point screenPoint) |
void |
dragToScreenPoint(java.awt.Point screenPt) |
void |
dragToScreenPoint(java.awt.Point objectPoint,
java.awt.Point screenPoint) |
boolean |
ensureObjectIsVisible() |
protected java.util.Vector |
getActionArgs(java.awt.Point point)
Generate the action argument for the screen point.
|
long |
getChildAtPoint(long handle,
int x,
int y) |
java.lang.Object |
getChildAtPoint(java.awt.Point pt)
Finds the most interesting child object at the specified point.
|
long |
getChildAtPointN(long handle,
int x,
int y) |
java.util.ArrayList |
getChildrenHandlesMatchingProperty(java.lang.String propertyName,
java.util.ArrayList propertyValues) |
java.awt.Rectangle |
getClippedScreenRectangle() |
IGraphical |
getClippingParent()
Get the clipping parent for this object.
|
java.awt.Rectangle |
getClippingParentRectangle()
Return the screen rectangle of this objects clipping parent.
|
java.lang.String |
getCurrentMethod() |
protected java.util.Vector |
getDefaultActionArgs(java.awt.Point point) |
protected java.awt.Point |
getDefaultPointToClick()
Determines the default click point by performing hit tests on candidates.
|
protected java.awt.Point |
getDefaultPointToClick(java.awt.Rectangle screenRect)
Determines the default click point by performing hit tests on candidates.
|
protected java.lang.String |
getMethodName(IMouseActionInfo action) |
MethodSpecification |
getMethodSpecForPoint(java.awt.Point pt)
Return a MethodSpecification for a method that returns a java.awt.Point
for the specified coordinates.
|
java.awt.Point |
getPointFromAction(IMouseActionInfo action,
int index) |
java.awt.Point |
getPointOnObject() |
protected java.awt.Point |
getPointToClick(java.awt.Rectangle screenRect)
Find a clickable point for this object within the given screen rectangle.
|
protected java.awt.Point |
getScreenCenter()
Get screen rectangle for object and caluclate the center point
of the rectangle.
|
java.awt.Point |
getScreenPoint() |
java.awt.Point |
getScreenPoint(java.awt.Point objectPoint) |
java.awt.Rectangle |
getScreenRectangle() |
java.util.ArrayList |
getTargetChildHandles(java.lang.String childTagName,
java.lang.String property,
java.util.ArrayList propertyValues) |
HtmlGuiProxy |
getTargetChildItem(HtmlProxy proxy,
java.lang.String childTagName,
java.lang.String property,
java.util.ArrayList propertyValues) |
HtmlGuiProxy |
getTargetChildItem(java.lang.String childTagName,
java.lang.String property,
java.util.ArrayList propertyValues) |
java.util.ArrayList |
getTargetChildItems(java.lang.String childTagName,
java.lang.String property,
java.util.ArrayList propertyValues) |
java.lang.String |
getTestObjectClassName()
The default GUI marshaller is returned.
|
protected ProxyTestObject |
getVisualClippableParent()
Return the clippable parent for the control
|
boolean |
hasFocus() |
void |
hover() |
void |
hover(double delay) |
void |
hover(double delay,
java.awt.Point pt) |
void |
hover(java.awt.Point pt) |
protected void |
hoverAtScreenPoint(double delay,
java.awt.Point screenPoint) |
boolean |
isEnabled() |
boolean |
isInView()
Is the object in view (not clipped)?
|
boolean |
isInView(java.awt.Point pt) |
boolean |
isOpaque() |
boolean |
isPointInObject(long handle,
int x,
int y) |
boolean |
isPointInObject(java.awt.Point point) |
boolean |
isShowing() |
void |
mouseMove(MouseModifiers modifiers,
java.awt.Point pt) |
void |
mouseMove(java.awt.Point pt) |
void |
nClick(int clickCount,
MouseModifiers modifiers) |
void |
nClick(int clickCount,
MouseModifiers modifiers,
java.awt.Point pt) |
protected void |
nClickAtScreenPoint(int clickCount,
MouseModifiers modifiers,
java.awt.Point screenPoint)
Generate a nClick at the screen point.
|
void |
nClickDrag(int clickCount,
MouseModifiers modifiers,
java.awt.Point pt1,
java.awt.Point pt2) |
protected void |
nClickDragAtScreenPoint(int clickCount,
MouseModifiers modifiers,
java.awt.Point screenPoint1,
java.awt.Point screenPoint2) |
void |
nClickDragToScreenPoint(int clickCount,
MouseModifiers modifiers,
java.awt.Point objectPt,
java.awt.Point screenPt) |
boolean |
performAction(long handle,
java.lang.String action,
java.lang.String text) |
boolean |
performClick(MouseModifiers modifiers) |
boolean |
performClick(MouseModifiers modifiers,
java.awt.Point pt) |
boolean |
performDoubleClick(MouseModifiers modifiers) |
boolean |
performSelect(java.lang.String item) |
boolean |
performSetText(java.lang.String text) |
protected void |
processHoverMouseEvent(IMouseActionInfo action) |
void |
processMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event.
|
protected void |
processPreDownMouseEvent(IMouseActionInfo action) |
protected void |
processPreUpMouseEvent(IMouseActionInfo action,
int clicks,
boolean isDrag)
This method is called to process a mouse event, IMouseActionInfo.PRE_UP event state
On PRE_UP build a new method specification will override
the one recorded on the PRE_DOWN.
|
java.lang.Object |
proxyGetChildAtPoint(java.awt.Point pt) |
protected void |
restoreTopLevelWindow() |
boolean |
scrollIntoView() |
boolean |
scrollIntoView(boolean scrollDirection) |
protected boolean |
scrollIntoView(long nativeHandle) |
protected boolean |
scrollIntoViewN(long handle) |
protected boolean |
scrollIntoViewWithDirection(long nativeHandle,
boolean scrollDirection) |
protected boolean |
scrollIntoViewWithDirectionN(long handle,
boolean scrollDirection) |
protected java.util.Vector |
setClickArgs(int modifiers)
Set args for click
(depends on clickArgs member variable set by getActionArgs in PRE_DOWN)
|
void |
setCurrentMethod(java.lang.String currentMethod) |
protected java.util.Vector |
setDownPointArgs(int modifiers)
Set args for down point
(depends on clickArgs member variable set by getActionArgs in PRE_DOWN)
|
protected java.util.Vector |
setDrag(IMouseActionInfo action,
int modifiers,
java.awt.Point firstPoint,
java.awt.Point nthPoint)
Set args and method for single click drag
member variable screenRect must be set before calling this method.
|
protected void |
setMethodSpecification(IMouseActionInfo action,
java.lang.String method,
java.util.Vector args) |
protected void |
setMethodSpecification(IMouseActionInfo action,
java.lang.String method,
java.util.Vector args,
ScriptCommandFlags flags) |
protected java.util.Vector |
setMultiClickAction(int clicks,
int modifiers,
boolean isDrag,
java.awt.Point firstPoint,
java.awt.Point nthPoint)
Set args for multi-click action (more than two clicks in one place, or more than one click drag)
member variable screenRect must be set before calling this method.
|
static java.awt.Point |
snapToRectangle(java.awt.Rectangle rect,
java.awt.Point originalPoint) |
addAdditionalRecognitionProperties, addChildrenHandlesToVector, addChildrenToVector, addChildrenToVector, addDataDrivableCommands, addDojoDomain, addRecognitionProperty, adjustCustomDomains, calculateParentsTextDescendantsMayBecomeInteresting, callJqueryFind, clearAllSubdomains, clearCustomSubdomains, detach, disableAllHtmlCustomDomains, disableHtmlCustomDomain, disableHtmlCustomDomains, enableAllHtmlCustomDomains, enableHtmlCustomDomain, enableHtmlCustomDomains, equals, fetchProperties, find, findElementsByXpath, findElementsDirectly, findElementsViaQuery, findElementWithDynamicFind, findElementWithName, getAddedRecognitionProperty, getAddedRecognitionPropertyValue, getAddedRecognitionPropertyWeight, getBrowserAppVersion, getCachedData, getChannel, getChildren, getChildren, getChildren, getChildrenEnumeration, getChildrenEnumeration, getChildrenHandleEnumeration, getChildrenHandles, getChildrenN, getChildrenWithTagType, getClassIndex, getCustomClassProperty, getCustomClassPropertyValue, getCustomDomainName, getCustomDomainName, getCustomDomainName, getCustomDomainNameForChildren, getCustomDomainNameForParent, getCustomObject, getDataDrivableCommand, getDescriptiveName, getDisabledProperty, getDocClassIndex, getDocument, getDocument, getDocumentHandle, getDocumentWindow, getDomain, getElementHandlesByTag, getElementObjectsByTag, getElementsByNameInProxyTestObjects, getElementsByTag, getElementsByTag, getElementsByTagEnumeration, getElementsByTagInProxyTestObjects, getElementsByTagN, getElementsByXpath, getElementsByXpath, getElementsByXpathEnumeration, getElementsDirectly, getHandle, getHtmlTag, getHtmlTagNameFromClassProperty, getIgnorableProperties, getIndexer, getIndexers, getInterestingRecogPropsForDynFind, getJsProps, getJswarapper, getMappableChildren, getMappableChildren, getMappableElementsByNameInProxyTestObjects, getMappableElementsByTagInProxyTestObjects, getMappableParent, getMappableParent, getMethods, getNonValueProperties, getObject, getObjectClassName, getOwnedObjects, getOwnedObjects, getOwner, getParent, getParent, getParentN, getProperties, getProperties, getProperty, getProperty, getPropertyInternal, getPropertyInternalRunnable, getPropertyN, getProxyTestObjectsFromEnumeration, getReadOnlyProperty, getRecognitionProperties, getRecognitionPropertyWeight, getRole, getSavedDescriptiveName, getScriptCommandFlags, getStandardProperties, getStandardProperties, getTestData, getTestDataTypes, getTestDomain, getText, getTopMappableParent, getTopParent, getTopParent, getTopParentInternal, getTopParentN, getUniqueId, getValueProperty, getVisualTopParent, hasAddedRecognitionProperties, isClassIndexConsidered, isClassIndexPropertyAndValueDefined, isClassIndexSet, isContextObjectSet, isContextObjectSet, isDocClassIndexSet, isEqual, isFindOptimized, isObjectDead, isPropertyOptimizable, isReleaseRequired, isSameObject, isScoreForFindBYIdorName, isValidRecognitionProperty, isXpathSupported, matches, release, release, release, release, release, release, releaseElementHandle, releaseN, replaceAll, restoreAllCustomSubDomains, restoreCustomSubDomains, setCachedData, setClass, setClassIndex, setClassIndex, setClassIndex, setClassIndex, setClassIndex, setClassIndexOfChild, setCustomClassProperty, setCustomClassPropertyValue, setCustomDomainInContext, setDocClassIndex, setDocClassIndex, setDocClassIndex, setDocClassIndex, setDomain, setIndexer, setJswarapper, setProperty, setProperty, setSavedDescriptiveName, shouldBeMapped, shouldDocumentBeAdded, split, updateTestData
baseClassMatch, canTakeVP, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getDataDrivableCommands, getElementWithFocus, getField, getObjectCustomClassName, getProxy, getScriptCommandAnchor, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isValidObject, ping, suppressKeyAction
protected static final MouseModifiers LEFT
protected java.lang.String currentMethod
public static final java.lang.String OFFSETWIDTHPROPERTY
public static final java.lang.String OFFSETHEIGHTPROPERTY
public static final java.lang.String OFFSETLEFTPROPERTY
public static final java.lang.String OFFSETTOPPROPERTY
public static final java.lang.String OFFSETRECTPROPERTY
public HtmlGuiProxy(HtmlTestDomainImplementation domain, IChannel channel, long handle, IBrowserCommunicator jswrap)
public HtmlGuiProxy(HtmlTestDomainImplementation domain, IChannel channel, long handle)
public java.lang.String getTestObjectClassName()
HtmlProxy
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class HtmlProxy
public void click()
public void click(MouseModifiers modifiers)
public void clickWithMouse(MouseModifiers modifiers)
public void click(MouseModifiers modifiers, java.awt.Point pt)
protected void clickAtScreenPoint(MouseModifiers modifiers, java.awt.Point screenPoint)
modifiers
- -screenPoint
- - point in screen coordinatesprotected void restoreTopLevelWindow()
protected void activateTopWindow()
protected void doubleClickAtScreenPoint(MouseModifiers modifiers, java.awt.Point screenPoint)
public void doubleClick()
public void doubleClick(MouseModifiers modifiers)
public void doubleClick(MouseModifiers modifiers, java.awt.Point pt)
public void drag()
public void drag(MouseModifiers modifiers)
public void drag(MouseModifiers modifiers, java.awt.Point pt1, java.awt.Point pt2)
public static java.awt.Point snapToRectangle(java.awt.Rectangle rect, java.awt.Point originalPoint)
public void drag(java.awt.Point pt1, java.awt.Point pt2)
public void dragToScreenPoint(MouseModifiers modifiers, java.awt.Point objectPoint, java.awt.Point screenPoint)
public void dragToScreenPoint(java.awt.Point screenPt)
public void dragToScreenPoint(java.awt.Point objectPoint, java.awt.Point screenPoint)
protected void dragAtScreenPoint(MouseModifiers modifiers, java.awt.Point screenPoint1, java.awt.Point screenPoint2)
modifiers
- -screenPoint1
- - point in screen coordinatesscreenPoint1
- - point in screen coordinatespublic java.awt.Point getScreenPoint()
public java.awt.Point getScreenPoint(java.awt.Point objectPoint)
public java.awt.Rectangle getScreenRectangle()
public java.awt.Rectangle getClippedScreenRectangle()
public boolean hasFocus()
public void hover(double delay)
public void hover(double delay, java.awt.Point pt)
public void hover()
public void hover(java.awt.Point pt)
protected void hoverAtScreenPoint(double delay, java.awt.Point screenPoint)
protected java.awt.Point getScreenCenter()
public boolean isEnabled()
public boolean isOpaque()
public IGraphical getClippingParent()
public java.awt.Rectangle getClippingParentRectangle()
public boolean isPointInObject(java.awt.Point point)
public boolean isPointInObject(long handle, int x, int y)
public boolean ensureObjectIsVisible()
public void doScroll(HtmlGuiProxy subObject)
public boolean scrollIntoView()
public boolean scrollIntoView(boolean scrollDirection)
protected boolean scrollIntoView(long nativeHandle)
protected boolean scrollIntoViewN(long handle)
protected boolean scrollIntoViewWithDirection(long nativeHandle, boolean scrollDirection)
protected boolean scrollIntoViewWithDirectionN(long handle, boolean scrollDirection)
public java.lang.Object getChildAtPoint(java.awt.Point pt)
If this object has no children, it should return null
.
pt
- Screen relative point to check.getScreenRectangle()
public java.lang.Object proxyGetChildAtPoint(java.awt.Point pt)
public java.awt.Point convertFromScreenToOffset(java.awt.Point pt)
public long getChildAtPoint(long handle, int x, int y)
public long getChildAtPointN(long handle, int x, int y)
public boolean isShowing()
public boolean isInView()
public boolean isInView(java.awt.Point pt)
public void mouseMove(MouseModifiers modifiers, java.awt.Point pt)
public void mouseMove(java.awt.Point pt)
public void nClick(int clickCount, MouseModifiers modifiers)
public void nClick(int clickCount, MouseModifiers modifiers, java.awt.Point pt)
protected void nClickAtScreenPoint(int clickCount, MouseModifiers modifiers, java.awt.Point screenPoint)
modifiers
- -screenPoint
- - point in screen coordinatespublic void nClickDrag(int clickCount, MouseModifiers modifiers, java.awt.Point pt1, java.awt.Point pt2)
public void nClickDragToScreenPoint(int clickCount, MouseModifiers modifiers, java.awt.Point objectPt, java.awt.Point screenPt)
protected void nClickDragAtScreenPoint(int clickCount, MouseModifiers modifiers, java.awt.Point screenPoint1, java.awt.Point screenPoint2)
public void processMouseEvent(IMouseActionInfo action)
processMouseEvent
in class HtmlProxy
action
- The event cache and other mouse state information
for this mouse action.MethodSpecification
,
getActionArgs(java.awt.Point)
protected void processHoverMouseEvent(IMouseActionInfo action)
protected void processPreDownMouseEvent(IMouseActionInfo action)
protected java.lang.String getMethodName(IMouseActionInfo action)
public java.awt.Point getPointFromAction(IMouseActionInfo action, int index)
protected void processPreUpMouseEvent(IMouseActionInfo action, int clicks, boolean isDrag)
public java.lang.String getCurrentMethod()
public void setCurrentMethod(java.lang.String currentMethod)
protected void setMethodSpecification(IMouseActionInfo action, java.lang.String method, java.util.Vector args)
protected void setMethodSpecification(IMouseActionInfo action, java.lang.String method, java.util.Vector args, ScriptCommandFlags flags)
protected java.util.Vector setClickArgs(int modifiers)
protected java.util.Vector setDownPointArgs(int modifiers)
protected java.util.Vector setDrag(IMouseActionInfo action, int modifiers, java.awt.Point firstPoint, java.awt.Point nthPoint)
protected java.util.Vector setMultiClickAction(int clicks, int modifiers, boolean isDrag, java.awt.Point firstPoint, java.awt.Point nthPoint)
protected java.awt.Point getDefaultPointToClick()
protected java.awt.Point getDefaultPointToClick(java.awt.Rectangle screenRect)
public java.awt.Point getPointOnObject()
protected java.awt.Point getPointToClick(java.awt.Rectangle screenRect)
public MethodSpecification getMethodSpecForPoint(java.awt.Point pt)
HtmlProxy
IGraphical.getScreenPoint
will be returned. However, if a proxy can fingetMethodSpecForPoint
in class HtmlProxy
MethodSpecification
protected java.util.Vector getActionArgs(java.awt.Point point)
point
- point in screen coordinatesprotected java.util.Vector getDefaultActionArgs(java.awt.Point point)
public boolean clickWithOutMouse()
public boolean clickWithOutMouse(long handle)
public boolean clickWithOutMouse(MouseModifiers modifiers)
public boolean clickWithOutMouse(MouseModifiers modifiers, java.awt.Point pt)
public boolean clickWithOutMouse(MouseModifiers modifiers, long handle)
public boolean clickWithOutMouse(MouseModifiers modifiers, java.awt.Point pt, long handle)
public boolean clickWithOutMouseN(long handle)
public HtmlGuiProxy getTargetChildItem(java.lang.String childTagName, java.lang.String property, java.util.ArrayList propertyValues)
public HtmlGuiProxy getTargetChildItem(HtmlProxy proxy, java.lang.String childTagName, java.lang.String property, java.util.ArrayList propertyValues)
public java.util.ArrayList getTargetChildItems(java.lang.String childTagName, java.lang.String property, java.util.ArrayList propertyValues)
public java.util.ArrayList getTargetChildHandles(java.lang.String childTagName, java.lang.String property, java.util.ArrayList propertyValues)
public java.util.ArrayList getChildrenHandlesMatchingProperty(java.lang.String propertyName, java.util.ArrayList propertyValues)
protected ProxyTestObject getVisualClippableParent()
ProxyTestObject
getVisualClippableParent
in class ProxyTestObject
public boolean performAction(long handle, java.lang.String action, java.lang.String text)
public boolean performClick(MouseModifiers modifiers)
public boolean performClick(MouseModifiers modifiers, java.awt.Point pt)
public boolean performDoubleClick(MouseModifiers modifiers)
public boolean performSetText(java.lang.String text)
public boolean performSelect(java.lang.String item)