public class DojoGridProxy extends DojoContainerProxy implements com.ibm.rational.test.ft.clearscript.IClearscript
| Modifier and Type | Class and Description |
|---|---|
protected class |
DojoGridProxy.DojoGridRowEnumeration |
protected class |
DojoGridProxy.JsDojoGridRowEnumeration |
DojoContainerProxy.DojoHtmlElementEnumerationHtmlGuiProxy.Clicker, HtmlGuiProxy.DoubleClicker, HtmlGuiProxy.Dragger, HtmlGuiProxy.Hoverer, HtmlGuiProxy.nClickDragger, HtmlGuiProxy.nClicker, HtmlGuiProxy.PointIteratorHtmlProxy.GetObjectRunnable, HtmlProxy.HtmlElementEnumeration, HtmlProxy.IntegerByReference, HtmlProxy.InvalidNativeHandleException, HtmlProxy.JSObjectHtmlElementEnumeration, HtmlProxy.NativeProxyReleasedExceptiondefaultRecognitionProperty, DISPLAYPROPERTY, subDomainCOLON, COMMA, currentMethod, ESC_DBLQUOTE, GETSCREENSNAPSHOT, IS_WEB_PLAYER, JSON_CLOSE_BRACE, JSON_OPEN_BRACE, LEFT, MAXIMIZE, OFFSETHEIGHTPROPERTY, OFFSETLEFTPROPERTY, OFFSETRECTPROPERTY, OFFSETTOPPROPERTY, OFFSETWIDTHPROPERTY, ONCHANGE, ONMOUSEOVER, RESTORE, TEXTBODYTAG, BOUNDSPROPERTY, channel, CLASSINDEX, CLASSPROPERTY, CLIENTRECTPROPERTY, debug, DISABLEDPROPERTY, DOCCLASSINDEX, dojoProps, domain, HTMLPROXYCHANNELRUNNABLE_TIMEOUTVALUE, IDPROPERTY, isSiebelActive, jswarapper, NAMEPROPERTY, OUTERTEXT, 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, vomClippedRectangle| Constructor and Description |
|---|
DojoGridProxy(HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
long handle) |
DojoGridProxy(HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
long handle,
com.rational.test.ft.domain.html.chrome.IBrowserCommunicator jswrap) |
| Modifier and Type | Method and Description |
|---|---|
void |
click(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem) |
void |
click(com.rational.test.ft.script.Subitem subitem) |
void |
doubleClick(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem) |
void |
doubleClick(com.rational.test.ft.script.Subitem subitem) |
long |
getChildAtPoint(long handle,
int x,
int y) |
java.util.Enumeration |
getChildrenEnumeration()
Enumerate child objects of the Html Element.
|
java.util.Enumeration |
getChildrenEnumerations()
Enumerate child objects of the Html Element.
|
java.lang.String |
getClearscriptSimpleName() |
static long |
getControlHandle(HtmlProxy proxy) |
static HtmlProxy |
getCustomProxy(HtmlProxy defaultProxy,
HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
com.rational.test.ft.domain.html.chrome.IBrowserCommunicator jswrap) |
DojoGridCellProxy |
getDataCell(java.awt.Point pt)
Returns a DojoGridCellProxy object at the specified screen point.
|
DojoGridCellProxy |
getDataCell(com.rational.test.ft.script.Subitem subitem)
Get the DojoGridCellProxy object identified by the Subitem.
|
com.rational.test.ft.sys.MethodSpecification |
getDataDrivableCommand()
This method must be implemented by any proxy that wishes to support
data driving.
|
long |
getDojoGrid(HtmlProxy proxy,
long handle) |
int |
getIndexOfColumn(java.lang.String columnName) |
com.rational.test.ft.domain.ProxyTestObject[] |
getMappableChildren()
Uses getChildrenEnumeration to implement.
|
java.lang.Object |
getPropertyInternal(java.lang.String propertyName)
Get the value for a specific property, internal use.
|
java.util.Hashtable |
getRecognitionProperties()
Returns an enumeration of properties used to uniquely identify the
associated test object in the SUT.
|
int |
getRecognitionPropertyWeight(java.lang.String propertyName)
Returns an indication of how useful this property is for recognition.
|
java.lang.String |
getRole()
Returns
TestObjectRole.ROLE_GRID. |
java.awt.Point |
getScreenPoint(DojoGridCellProxy subObject) |
java.lang.Object |
getSubitem(com.rational.test.ft.script.Subitem subitem) |
DojoGridCellProxy |
getSubobject(com.rational.test.ft.script.Subitem subitem) |
com.rational.test.ft.vp.ITestData |
getTestData(java.lang.String testDataType)
This method constructs the specified verification data object.
|
java.util.Hashtable |
getTestDataTypes()
Returns a hashtable of data type descriptions of the verification
point data available with the associated object in the SUT.
|
java.lang.String |
getTestObjectClassName()
The default GUI marshaller is returned.
|
boolean |
isInView(DojoGridCellProxy subObject) |
static boolean |
isOfMyType(HtmlProxy proxy) |
protected void |
processPreDownMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
This method is called to process a mouse event in the IMouseActionInfo.PRE_DOWN event state.
|
protected void |
processPreUpMouseEvent(com.rational.test.ft.domain.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 which will override
the one recorded on the PRE_DOWN.
|
void |
scroll(java.awt.Point fromPt,
java.awt.Point toPt) |
protected java.util.Vector |
setDrag(com.rational.test.ft.domain.IMouseActionInfo action,
int modifiers,
java.awt.Point firstPoint,
java.awt.Point nthPoint)
Set args and method for single click drag
|
boolean |
shouldBeMapped()
Always returns
false, because DOJO Containers are not interesting. |
isContentPane, isDisplayed, isLayoutContainer, processMouseEvent, setSizerPosition, setSizerPositioncalculateParentsTextDescendantsMayBecomeInteresting, getAncestorAtLevel, getAncestorHandleMatchingByPropertyNames, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getHtmlChildren, getHtmlParent, getObjectCustomClassName, getProperty, getSubDomain, getVisibleTextProperty, isEnabled, isVisible, setClickArgs, setDownPointArgs, setMethodSpecification, setMethodSpecification, setSubDomainactivateTopWindow, click, click, click, click, clickAtScreenPoint, clickWithMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouse, clickWithOutMouseN, convertFromScreenToOffset, doScroll, doubleClick, doubleClick, doubleClick, 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, getScreenSnapshot, getTargetChildHandles, getTargetChildItem, getTargetChildItem, getTargetChildItems, getVisualClippableParent, hasFocus, hover, hover, hover, hover, hoverAtScreenPoint, isInView, isInView, isOpaque, isPointInObject, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClick, nClickAtScreenPoint, nClickDrag, nClickDragAtScreenPoint, nClickDragToScreenPoint, performAction, performClick, performClick, performDoubleClick, performSelect, performSetText, performWindowAction, processHoverMouseEvent, 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, exists, fetchProperties, filterProxiesBasedOnProps, find, findElementsByXpath, findElementsDirectly, findElementsViaQuery, findElementWithDynamicFind, findElementWithName, getAddedRecognitionProperty, getAddedRecognitionPropertyValue, getAddedRecognitionPropertyWeight, getBrowserAppVersion, getBrowserProcessId, getCachedData, getChannel, getChildren, getChildren, getChildren, getChildrenEnumeration, getChildrenHandleEnumeration, getChildrenHandles, getChildrenN, getChildrenWithTagType, getClassIndex, getCustomClassProperty, getCustomClassPropertyValue, getCustomDomainName, getCustomDomainName, getCustomDomainName, getCustomDomainNameForChildren, getCustomDomainNameForParent, getCustomObject, getDescriptiveName, getDisabledProperty, getDocClassIndex, getDocument, getDocument, getDocumentHandle, getDocumentWindow, 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, getParent, getParentN, getProperties, getProperties, getProperty, getPropertyInternalRunnable, getPropertyN, getProxyTestObjectsFromEnumeration, getReadOnlyProperty, 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 DojoGridProxy(HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, long handle, com.rational.test.ft.domain.html.chrome.IBrowserCommunicator jswrap)
public DojoGridProxy(HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, long handle)
public static HtmlProxy getCustomProxy(HtmlProxy defaultProxy, HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, com.rational.test.ft.domain.html.chrome.IBrowserCommunicator jswrap)
public static long getControlHandle(HtmlProxy proxy)
public java.lang.String getRole()
TestObjectRole.ROLE_GRID.getRole in class DojoContainerProxypublic static boolean isOfMyType(HtmlProxy proxy)
public long getDojoGrid(HtmlProxy proxy, long handle)
public boolean shouldBeMapped()
DojoContainerProxyfalse, because DOJO Containers are not interesting.shouldBeMapped in class DojoContainerProxyfalsepublic java.lang.String getTestObjectClassName()
HtmlProxygetTestObjectClassName in interface com.rational.test.ft.domain.IProxyBasegetTestObjectClassName in class DojoContainerProxypublic java.util.Hashtable getRecognitionProperties()
getRecognitionProperties in class HtmlProxypublic int getRecognitionPropertyWeight(java.lang.String propertyName)
getRecognitionPropertyWeight in class HtmlProxypublic com.rational.test.ft.sys.MethodSpecification getDataDrivableCommand()
null value is returned.getDataDrivableCommand in interface com.rational.test.ft.domain.IDataDrivengetDataDrivableCommand in class HtmlProxyProxyTestObject.getDataDrivableCommands(int)public java.util.Hashtable getTestDataTypes()
getTestDataTypes in class HtmlProxygetTestData(String),
ITestDatapublic com.rational.test.ft.vp.ITestData getTestData(java.lang.String testDataType)
getTestDataTypes.getTestData in class HtmlProxytestDataType - A test data type supplied by
getTestDataTypes.getTestDataTypes(),
ITestDatapublic java.lang.Object getPropertyInternal(java.lang.String propertyName)
getPropertyInternal in class HtmlProxyprotected void processPreDownMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
processPreDownMouseEvent in class DojoContainerProxyprotected java.util.Vector setDrag(com.rational.test.ft.domain.IMouseActionInfo action,
int modifiers,
java.awt.Point firstPoint,
java.awt.Point nthPoint)
setDrag in class HtmlGuiProxyprotected void processPreUpMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action,
int clicks,
boolean isDrag)
processPreUpMouseEvent in class HtmlGuiProxypublic DojoGridCellProxy getDataCell(java.awt.Point pt)
pt - The screen point as which to look for a TH or TD element.public DojoGridCellProxy getSubobject(com.rational.test.ft.script.Subitem subitem)
public java.lang.Object getSubitem(com.rational.test.ft.script.Subitem subitem)
public DojoGridCellProxy getDataCell(com.rational.test.ft.script.Subitem subitem)
subitem - Subclass of Subitem which identifies a specific cell in the Grid.public int getIndexOfColumn(java.lang.String columnName)
public java.awt.Point getScreenPoint(DojoGridCellProxy subObject)
public boolean isInView(DojoGridCellProxy subObject)
public void click(com.rational.test.ft.script.Subitem subitem)
public void click(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem)
public void doubleClick(com.rational.test.ft.script.Subitem subitem)
public void doubleClick(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem)
public void scroll(java.awt.Point fromPt,
java.awt.Point toPt)
public long getChildAtPoint(long handle,
int x,
int y)
getChildAtPoint in class HtmlGuiProxypublic java.util.Enumeration getChildrenEnumerations()
public java.util.Enumeration getChildrenEnumeration()
getChildrenEnumeration in class DojoContainerProxypublic com.rational.test.ft.domain.ProxyTestObject[] getMappableChildren()
DojoContainerProxygetMappableChildren in class DojoContainerProxypublic java.lang.String getClearscriptSimpleName()
getClearscriptSimpleName in interface com.ibm.rational.test.ft.clearscript.IClearscript