public class GenericTreeProxy extends GenericHtmlGuiProxy
HtmlGuiProxy.Clicker, HtmlGuiProxy.DoubleClicker, HtmlGuiProxy.Dragger, HtmlGuiProxy.Hoverer, HtmlGuiProxy.nClickDragger, HtmlGuiProxy.nClicker, HtmlGuiProxy.PointIteratorHtmlProxy.GetObjectRunnable, HtmlProxy.HtmlElementEnumeration, HtmlProxy.IntegerByReference, HtmlProxy.InvalidNativeHandleException, HtmlProxy.JSObjectHtmlElementEnumeration, HtmlProxy.NativeProxyReleasedException| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GENERIC_TREE_TESTOBJECT_CLASSNAME |
static java.lang.String |
TESTDATA_SELECTED |
static java.lang.String |
TESTDATA_SELECTED_DESCRIPTION |
static java.lang.String |
TESTDATA_TREE |
static java.lang.String |
TESTDATA_TREE_DESCRIPTION |
defaultRecognitionProperty, DISPLAYPROPERTY, subDomaincurrentMethod, LEFT, MAXIMIZE, OFFSETHEIGHTPROPERTY, OFFSETLEFTPROPERTY, OFFSETRECTPROPERTY, OFFSETTOPPROPERTY, OFFSETWIDTHPROPERTY, RESTOREBODYTAG, BOUNDSPROPERTY, channel, CLASSINDEX, CLASSPROPERTY, CLIENTRECTPROPERTY, debug, DISABLEDPROPERTY, DOCCLASSINDEX, dojoProps, domain, HTMLPROXYCHANNELRUNNABLE_TIMEOUTVALUE, IDPROPERTY, isSiebelActive, jswarapper, NAMEPROPERTY, parentsTextDescendantsMayBeInteresting, READONLYPROPERTY, TAGPROPERTY, TESTDATA_TEXT, TEXTPROPERTY, TITLEPROPERTY, UNIQUEIDPROPERTYBROWSERTABTESTOBJECT_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, vomClippedRectangleCUSTOM_DOMAIN_LIST, DOJO_CUSTOM_DOMAIN_NAME, SAPWEBPORTAL_CUSTOM_DOMAIN_NAMEINCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS| Constructor and Description |
|---|
GenericTreeProxy(HtmlTestDomainImplementation domain,
IChannel channel,
long handle) |
GenericTreeProxy(HtmlTestDomainImplementation domain,
IChannel channel,
long handle,
IBrowserCommunicator jswrap) |
| Modifier and Type | Method and Description |
|---|---|
void |
click(MouseModifiers modifiers,
Subitem path) |
void |
click(Subitem path) |
void |
collapse(Subitem path) |
void |
collapseAllNodes() |
void |
doubleClick(MouseModifiers modifiers,
Subitem path) |
void |
doubleClick(Subitem path) |
void |
expand(Subitem path) |
void |
expandAllNodes() |
java.lang.Object |
getChildAtPoint(java.awt.Point pt)
Finds the most interesting child object at the specified point.
|
ProxyTestObject[] |
getChildren()
Uses getChildrenEnumeration to implement.
|
HtmlGuiProxy |
getCollapseAllNodesProxy() |
HtmlGuiProxy |
getExpandAllNodesProxy() |
ProxyTestObject[] |
getMappableChildren()
Uses getChildrenEnumeration to implement.
|
java.lang.String |
getRole()
Returns
TestObjectRole.ROLE_HTML. |
GenericTreeNodeProxy[] |
getRootNodes() |
GenericTreeNodeProxy |
getTargetTreeNodeProxy(List path) |
ITestData |
getTestData(java.lang.String type)
This method constructs the specified verification data object.
|
TestDataTree |
getTestDataSelectedPath() |
java.util.Hashtable |
getTestDataTypes()
Returns a hashtable of data type descriptions of the verification
point data available with the associated object.
|
java.lang.String |
getTestObjectClassName()
The default GUI marshaller is returned.
|
void |
nClick(int n,
MouseModifiers modifiers,
Subitem path) |
void |
nClick(int n,
Subitem path) |
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.
|
calculateParentsTextDescendantsMayBecomeInteresting, getAncestorAtLevel, getAncestorHandleMatchingByPropertyNames, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getHtmlChildren, getHtmlParent, getObjectCustomClassName, getProperty, getSubDomain, getVisibleTextProperty, isEnabled, isVisible, setClickArgs, setDownPointArgs, setMethodSpecification, setMethodSpecification, setSubDomain, shouldBeMappedactivateTopWindow, click, clickAtScreenPoint, clickWithMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouseN, convertFromScreenToOffset, doScroll, doubleClick, doubleClickAtScreenPoint, drag, drag, drag, drag, dragAtScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getActionArgs, getChildAtPoint, getChildAtPointN, getChildrenHandlesMatchingProperty, getClippedScreenRectangle, getClippingParent, getClippingParentRectangle, getCurrentMethod, getDefaultActionArgs, getDefaultPointToClick, getDefaultPointToClick, getMappableDocument, getMethodName, 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, performWindowAction, processHoverMouseEvent, processMouseEvent, processPreDownMouseEvent, processPreUpMouseEvent, proxyGetChildAtPoint, restoreTopLevelWindow, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoViewN, scrollIntoViewWithDirection, scrollIntoViewWithDirectionN, setClickArgs, setCurrentMethod, setDownPointArgs, setMethodSpecification, setMethodSpecification, setMultiClickAction, snapToRectangleaddAdditionalRecognitionProperties, 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, 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, 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, updateTestDatabaseClassMatch, canTakeVP, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getDataDrivableCommands, getElementWithFocus, getField, getProxy, getScriptCommandAnchor, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isValidObject, ping, suppressKeyActionpublic static final java.lang.String TESTDATA_TREE
public static final java.lang.String TESTDATA_TREE_DESCRIPTION
public static final java.lang.String TESTDATA_SELECTED
public static final java.lang.String TESTDATA_SELECTED_DESCRIPTION
public static final java.lang.String GENERIC_TREE_TESTOBJECT_CLASSNAME
public GenericTreeProxy(HtmlTestDomainImplementation domain, IChannel channel, long handle, IBrowserCommunicator jswrap)
public GenericTreeProxy(HtmlTestDomainImplementation domain, IChannel channel, long handle)
public ProxyTestObject[] getMappableChildren()
HtmlProxygetMappableChildren in class HtmlProxypublic java.lang.Object getChildAtPoint(java.awt.Point pt)
HtmlGuiProxy
If this object has no children, it should return null.
getChildAtPoint in class HtmlGuiProxypt - Screen relative point to check.HtmlGuiProxy.getScreenRectangle()public java.lang.String getRole()
HtmlProxyTestObjectRole.ROLE_HTML.public java.lang.String getTestObjectClassName()
HtmlProxygetTestObjectClassName in interface IProxyBasegetTestObjectClassName in class HtmlGuiProxypublic java.util.Hashtable getTestDataTypes()
String objects that are used as the VP
type in the associated test data. The type is a
simple value that is different from other type values associated
with this object under test. The type keys map to a verbose
description of the test data, reasonable for presentation to a
user.getTestDataTypes in class HtmlProxytype/description pairs
used to describe the verification data available from this
proxy.getTestData(String),
com.rational.test.ft.vp.ITestDataprotected java.util.Vector setDrag(IMouseActionInfo action, int modifiers, java.awt.Point firstPoint, java.awt.Point nthPoint)
HtmlGuiProxysetDrag in class HtmlGuiProxypublic ITestData getTestData(java.lang.String type)
HtmlProxygetTestDataTypes.getTestData in class HtmlProxytype - A test data type supplied by
getTestDataTypes.HtmlProxy.getTestDataTypes(),
ITestDatapublic TestDataTree getTestDataSelectedPath()
public void click(Subitem path)
click in class HtmlGuiProxypublic void click(MouseModifiers modifiers,
Subitem path)
click in class HtmlGuiProxypublic GenericTreeNodeProxy getTargetTreeNodeProxy(List path)
public GenericTreeNodeProxy[] getRootNodes()
public ProxyTestObject[] getChildren()
HtmlProxygetChildren in class HtmlProxypublic void expand(Subitem path)
public void collapse(Subitem path)
public void collapseAllNodes()
public void expandAllNodes()
public HtmlGuiProxy getCollapseAllNodesProxy()
public HtmlGuiProxy getExpandAllNodesProxy()
public void doubleClick(Subitem path)
doubleClick in class HtmlGuiProxypublic void doubleClick(MouseModifiers modifiers,
Subitem path)
doubleClick in class HtmlGuiProxypublic void nClick(int n,
Subitem path)
nClick in class HtmlGuiProxypublic void nClick(int n,
MouseModifiers modifiers,
Subitem path)
nClick in class HtmlGuiProxy