public class DojoTreeProxy extends GenericTreeProxy
HtmlGuiProxy.Clicker, HtmlGuiProxy.DoubleClicker, HtmlGuiProxy.Dragger, HtmlGuiProxy.Hoverer, HtmlGuiProxy.nClickDragger, HtmlGuiProxy.nClicker, HtmlGuiProxy.PointIterator
HtmlProxy.GetObjectRunnable, HtmlProxy.HtmlElementEnumeration, HtmlProxy.IntegerByReference, HtmlProxy.InvalidNativeHandleException, HtmlProxy.JSObjectHtmlElementEnumeration, HtmlProxy.NativeProxyReleasedException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DOJOTREETESTOBJECT_CLASSNAME |
GENERIC_TREE_TESTOBJECT_CLASSNAME, TESTDATA_SELECTED_DESCRIPTION, TESTDATA_TREE_DESCRIPTION
defaultRecognitionProperty, DISPLAYPROPERTY, subDomain
currentMethod, LEFT, OFFSETHEIGHTPROPERTY, OFFSETLEFTPROPERTY, OFFSETRECTPROPERTY, OFFSETTOPPROPERTY, 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 |
---|
DojoTreeProxy(HtmlTestDomainImplementation domain,
IChannel channel,
long handle) |
DojoTreeProxy(HtmlTestDomainImplementation domain,
IChannel channel,
long handle,
IBrowserCommunicator jswrap) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Vector |
getActionArgs(java.awt.Point point)
Generate the action argument for the screen point.
|
java.lang.Object |
getChildAtPoint(java.awt.Point pt)
Finds the most interesting child object at the specified point.
|
static long |
getControlHandle(HtmlProxy proxy) |
static HtmlProxy |
getCustomProxy(HtmlProxy defaultProxy,
HtmlTestDomainImplementation domain,
IChannel channel,
IBrowserCommunicator jswrap) |
MethodSpecification |
getDataDrivableCommand()
This method must be implemented by any proxy that wishes to support
data driving.
|
ProxyTestObject[] |
getMappableChildren()
Uses getChildrenEnumeration to implement.
|
java.lang.String |
getMethodName(IMouseActionInfo action) |
java.lang.String |
getRole()
Returns
TestObjectRole.ROLE_HTML . |
GenericTreeNodeProxy[] |
getRootNodes() |
GenericTreeNodeProxy |
getTargetTreeNodeProxy(List path) |
TestDataTree |
getTestDataSelectedPath() |
java.lang.String |
getTestObjectClassName()
The default GUI marshaller is returned.
|
static boolean |
isOfMyType(HtmlProxy proxy) |
protected void |
setMethodSpecification(IMouseActionInfo action,
java.lang.String method,
java.util.Vector args) |
boolean |
shouldBeMapped()
Always returns
true , because all HTML LORENZO GUI objects are interesting. |
click, click, collapse, collapseAllNodes, doubleClick, doubleClick, expand, expandAllNodes, getChildren, getCollapseAllNodesProxy, getExpandAllNodesProxy, getTestData, getTestDataTypes, nClick, nClick, setDrag
calculateParentsTextDescendantsMayBecomeInteresting, getAncestorAtLevel, getAncestorHandleMatchingByPropertyNames, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getHtmlChildren, getHtmlParent, getObjectCustomClassName, getProperty, getSubDomain, getVisibleTextProperty, isEnabled, isVisible, setClickArgs, setDownPointArgs, setMethodSpecification, setMethodSpecification, setSubDomain
activateTopWindow, click, clickAtScreenPoint, clickWithMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouseN, convertFromScreenToOffset, doScroll, doubleClick, doubleClickAtScreenPoint, drag, drag, drag, drag, dragAtScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getChildAtPointN, getChildrenHandlesMatchingProperty, getClippedScreenRectangle, getClippingParent, getClippingParentRectangle, getCurrentMethod, getDefaultActionArgs, getDefaultPointToClick, getDefaultPointToClick, getMethodSpecForPoint, getPointFromAction, getPointOnObject, getPointToClick, getScreenCenter, getScreenPoint, getScreenPoint, getScreenRectangle, getTargetChildHandles, getTargetChildItem, getTargetChildItem, getTargetChildItems, getVisualClippableParent, hasFocus, hover, hover, hover, hover, hoverAtScreenPoint, isInView, isInView, isOpaque, isPointInObject, isPointInObject, isShowing, mouseMove, mouseMove, nClickAtScreenPoint, nClickDrag, nClickDragAtScreenPoint, nClickDragToScreenPoint, performAction, performClick, performClick, performDoubleClick, performSelect, performSetText, processHoverMouseEvent, processMouseEvent, processPreDownMouseEvent, processPreUpMouseEvent, proxyGetChildAtPoint, restoreTopLevelWindow, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoViewN, scrollIntoViewWithDirection, scrollIntoViewWithDirectionN, setClickArgs, setCurrentMethod, setDownPointArgs, setMethodSpecification, setMultiClickAction, snapToRectangle
addAdditionalRecognitionProperties, addChildrenHandlesToVector, addChildrenToVector, addChildrenToVector, addDataDrivableCommands, addDojoDomain, addRecognitionProperty, adjustCustomDomains, 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, getChildrenEnumeration, getChildrenEnumeration, getChildrenHandleEnumeration, getChildrenHandles, getChildrenN, getChildrenWithTagType, getClassIndex, getCustomClassProperty, getCustomClassPropertyValue, getCustomDomainName, getCustomDomainName, getCustomDomainName, getCustomDomainNameForChildren, getCustomDomainNameForParent, getCustomObject, 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, getMappableElementsByNameInProxyTestObjects, getMappableElementsByTagInProxyTestObjects, getMappableParent, getMappableParent, getMethods, getNonValueProperties, getObject, getObjectClassName, getOwnedObjects, getOwnedObjects, getOwner, getParent, getParent, getParentN, getProperties, getProperties, getProperty, getPropertyInternal, getPropertyInternalRunnable, getPropertyN, getProxyTestObjectsFromEnumeration, getReadOnlyProperty, getRecognitionProperties, getRecognitionPropertyWeight, getSavedDescriptiveName, getScriptCommandFlags, getStandardProperties, getStandardProperties, 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, shouldDocumentBeAdded, split, updateTestData
baseClassMatch, canTakeVP, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getDataDrivableCommands, getElementWithFocus, getField, getProxy, getScriptCommandAnchor, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isValidObject, ping, suppressKeyAction
public static final java.lang.String DOJOTREETESTOBJECT_CLASSNAME
public DojoTreeProxy(HtmlTestDomainImplementation domain, IChannel channel, long handle, IBrowserCommunicator jswrap)
public DojoTreeProxy(HtmlTestDomainImplementation domain, IChannel channel, long handle)
public static HtmlProxy getCustomProxy(HtmlProxy defaultProxy, HtmlTestDomainImplementation domain, IChannel channel, IBrowserCommunicator jswrap)
public boolean shouldBeMapped()
GenericHtmlGuiProxy
true
, because all HTML LORENZO GUI objects are interesting.shouldBeMapped
in class GenericHtmlGuiProxy
false
public static long getControlHandle(HtmlProxy proxy)
public static boolean isOfMyType(HtmlProxy proxy)
public java.lang.Object getChildAtPoint(java.awt.Point pt)
HtmlGuiProxy
If this object has no children, it should return null
.
getChildAtPoint
in class GenericTreeProxy
pt
- Screen relative point to check.HtmlGuiProxy.getScreenRectangle()
public ProxyTestObject[] getMappableChildren()
HtmlProxy
getMappableChildren
in class GenericTreeProxy
protected void setMethodSpecification(IMouseActionInfo action, java.lang.String method, java.util.Vector args)
setMethodSpecification
in class HtmlGuiProxy
protected java.util.Vector getActionArgs(java.awt.Point point)
HtmlGuiProxy
getActionArgs
in class HtmlGuiProxy
point
- point in screen coordinatespublic java.lang.String getTestObjectClassName()
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class GenericTreeProxy
public java.lang.String getRole()
HtmlProxy
TestObjectRole.ROLE_HTML
.getRole
in class GenericTreeProxy
public TestDataTree getTestDataSelectedPath()
getTestDataSelectedPath
in class GenericTreeProxy
public MethodSpecification getDataDrivableCommand()
null
value is returned.getDataDrivableCommand
in interface IDataDriven
getDataDrivableCommand
in class HtmlProxy
ProxyTestObject.getDataDrivableCommands(int)
public java.lang.String getMethodName(IMouseActionInfo action)
getMethodName
in class HtmlGuiProxy
public GenericTreeNodeProxy getTargetTreeNodeProxy(List path)
getTargetTreeNodeProxy
in class GenericTreeProxy
public GenericTreeNodeProxy[] getRootNodes()
getRootNodes
in class GenericTreeProxy