public class DojoSpinnerProxy 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 |
|---|---|
protected static java.lang.String |
TESTDATA_VALUE |
defaultRecognitionProperty, 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 |
|---|
DojoSpinnerProxy(HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
long handle) |
DojoSpinnerProxy(HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
long handle,
com.rational.test.ft.domain.html.chrome.IBrowserCommunicator jswarp) |
| Modifier and Type | Method and Description |
|---|---|
void |
click(com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point pt) |
void |
decrement() |
protected java.util.Vector |
getActionArgs(java.awt.Rectangle screenRect,
java.awt.Point point) |
long |
getChildAtPoint(long handle,
int x,
int y) |
static HtmlProxy |
getCustomProxy(HtmlProxy defaultProxy,
HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
com.rational.test.ft.domain.html.chrome.IBrowserCommunicator jswarp) |
static long |
getDojoSpinner(HtmlProxy proxy) |
long |
getDownArrowHandle(HtmlProxy proxy,
java.lang.String tagName) |
com.rational.test.ft.domain.ProxyTestObject[] |
getMappableChildren()
Uses getChildrenEnumeration to implement.
|
java.util.Hashtable |
getProperties() |
java.lang.Object |
getPropertyInternal(java.lang.String propertyName) |
java.lang.String |
getRole()
Returns
TestObjectRole.ROLE_HTML. |
long |
getSpinnerDownArrow(HtmlProxy proxy) |
long |
getSpinnerHandle(HtmlProxy proxy,
java.lang.String tagName) |
long |
getSpinnerObject(HtmlProxy proxy) |
long |
getSpinnerUpArrow(HtmlProxy proxy) |
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.
|
long |
getUpArrowHandle(HtmlProxy proxy,
java.lang.String tagName) |
void |
increment() |
protected void |
processPreDownMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action) |
void |
setText(java.lang.String text)
Directly modify the text on the control.
|
calculateParentsTextDescendantsMayBecomeInteresting, getAncestorAtLevel, getAncestorHandleMatchingByPropertyNames, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getAncestorHandleMatchingProperty, getHtmlChildren, getHtmlParent, getObjectCustomClassName, getProperty, getSubDomain, getVisibleTextProperty, isEnabled, isVisible, setClickArgs, setDownPointArgs, setMethodSpecification, setMethodSpecification, setSubDomain, shouldBeMappedactivateTopWindow, 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, processMouseEvent, processPreUpMouseEvent, proxyGetChildAtPoint, restoreTopLevelWindow, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoViewN, scrollIntoViewWithDirection, scrollIntoViewWithDirectionN, setClickArgs, setCurrentMethod, setDownPointArgs, setDrag, 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, getChildrenEnumeration, getChildrenHandleEnumeration, getChildrenHandles, getChildrenN, getChildrenWithTagType, getClassIndex, getCustomClassProperty, getCustomClassPropertyValue, getCustomDomainName, getCustomDomainName, getCustomDomainName, getCustomDomainNameForChildren, getCustomDomainNameForParent, getCustomObject, getDataDrivableCommand, 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, getProperty, 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, suppressKeyActionprotected static final java.lang.String TESTDATA_VALUE
public DojoSpinnerProxy(HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, long handle, com.rational.test.ft.domain.html.chrome.IBrowserCommunicator jswarp)
public DojoSpinnerProxy(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 jswarp)
public java.lang.String getTestObjectClassName()
HtmlProxygetTestObjectClassName in interface com.rational.test.ft.domain.IProxyBasegetTestObjectClassName in class HtmlGuiProxypublic java.lang.String getRole()
HtmlProxyTestObjectRole.ROLE_HTML.public static long getDojoSpinner(HtmlProxy proxy)
public long getSpinnerUpArrow(HtmlProxy proxy)
public long getUpArrowHandle(HtmlProxy proxy, java.lang.String tagName)
public long getSpinnerDownArrow(HtmlProxy proxy)
public long getDownArrowHandle(HtmlProxy proxy, java.lang.String tagName)
public long getSpinnerObject(HtmlProxy proxy)
public long getSpinnerHandle(HtmlProxy proxy, java.lang.String tagName)
public java.util.Hashtable getProperties()
getProperties in class HtmlProxyprotected void processPreDownMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
processPreDownMouseEvent in class HtmlGuiProxypublic long getChildAtPoint(long handle,
int x,
int y)
getChildAtPoint in class HtmlGuiProxypublic com.rational.test.ft.domain.ProxyTestObject[] getMappableChildren()
HtmlProxygetMappableChildren in class HtmlProxyprotected java.util.Vector getActionArgs(java.awt.Rectangle screenRect,
java.awt.Point point)
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 void setText(java.lang.String text)
text - The text to update the control with.public void click(com.rational.test.ft.script.MouseModifiers modifiers,
java.awt.Point pt)
click in interface com.rational.test.ft.object.interfaces.IGraphicalclick in class HtmlGuiProxypublic void increment()
public void decrement()
public java.lang.Object getPropertyInternal(java.lang.String propertyName)
getPropertyInternal in class HtmlProxy