public class ComboListboxProxy extends ElementProxy
GuiTestObject
| Type | Desciption | |
|---|---|---|
| list | Selected List Elements | ITestDataList |
| selected | List Elements | ITestDataList |
| 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. |
| .className | This the value of the class attribute of an element |
| .disabled | The value of the disabled attribute of an element, returned as a boolean. If true then user input is currently disabled for this item. |
| .hasScript | This value is returned as a boolean. If true then script as been associated with actions on this element. |
| .id | This is the value of the id attribute of an element. |
| .length | The value of the length attribute of an element. For a Select element this indicates the number of items in the list. |
| .multiple | The value of the multiple attribute of an element. For a Select element (Listbox or combo dropdown) this indicates that the list supports multiple selection, returned as a boolean. |
| .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. |
| .selectedIndex | The value of the selectedIndex attribute of an element. For a single selection Select element, this indicates which option element is selected. Integer in the range of >=0. |
| .screenLeft | Upper left corner of bounding rectangle in screen coordinates, x component. |
| .screenTop | Upper left corner of bounding rectangle in screen coordinates, y component. |
| .size | The value of the size attribute of an element. For a Select element this indicates the number of items displayed at once in the list. If size > 1 then the list appears as listbox, otherwise the list appears as a Combodropdown. |
| .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. |
| .type | This is the value of the Type attribute of an element. For example, for an Input element this will be text, password, checkbox, radio, submit, image, reset, button, hidden,orfile. |
| .value | This is the value of the value attribute of an element. In Form elements this represents the value which will be sent when the form is posted. |
HtmlGuiProxy.Clicker, HtmlGuiProxy.DoubleClicker, HtmlGuiProxy.Dragger, HtmlGuiProxy.Hoverer, HtmlGuiProxy.nClickDragger, HtmlGuiProxy.nClicker, HtmlGuiProxy.PointIteratorHtmlProxy.GetObjectRunnable, HtmlProxy.HtmlElementEnumeration, HtmlProxy.IntegerByReference, HtmlProxy.InvalidNativeHandleException, HtmlProxy.JSObjectHtmlElementEnumeration, HtmlProxy.NativeProxyReleasedExceptionTESTDATA_SUBMITCOLON, 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, MULTIWINDOW_SECOND_WINDOW_CUSTOMIZED, NAMEPROPERTY, OUTERTEXT, parentsTextDescendantsMayBeInteresting, READONLYPROPERTY, TAGPROPERTY, TESTDATA_TEXT, TEXTPROPERTY, TITLEPROPERTY, UNIQUEIDPROPERTY, weightedHtmlPropsForXPathBROWSERTABTESTOBJECT_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 |
|---|
ComboListboxProxy(HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
long handle) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Vector |
getActionArgs(java.awt.Point point)
Override of getActionArgs in base class to provide the subitem action
data requested inside the base class implementation of processMouseEvent.
|
java.lang.Object |
getChildAtPoint(java.awt.Point pt)
Finds the most interesting child object at the specified point.
|
com.rational.test.ft.object.interfaces.IGraphical |
getClippingParent()
Get the clipping parent for this object.
|
protected ComboListItemProxy |
getComboListItem(java.awt.Point point)
Get a combolist item element (subobject) at the given point.
|
java.lang.String |
getRole()
Returns
TestObjectRole.ROLE_COMBO_LIST_BOX. |
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.
|
com.rational.test.ft.domain.ProxyTestObject |
getVisualTopParent() |
void |
processMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event.
|
com.rational.test.ft.vp.ITestData |
updateTestData(java.lang.String testDataType,
com.rational.test.ft.vp.ITestData testData)
This method updates the supplied test data object and returns it.
|
shouldBeMappedactivateTopWindow, 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, getChildAtPoint, getChildAtPointN, getChildrenHandlesMatchingProperty, getClippedScreenRectangle, getClippingParentRectangle, getCurrentMethod, getDefaultActionArgs, getDefaultPointToClick, getDefaultPointToClick, getMappableDocument, getMethodName, getMethodSpecForPoint, getPointFromAction, getPointOnObject, getPointToClick, getScreenCenter, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getTargetChildHandles, getTargetChildItem, getTargetChildItem, getTargetChildItems, getTestObjectClassName, getVisualClippableParent, hasFocus, hover, hover, hover, hover, hoverAtScreenPoint, isEnabled, isInView, isInView, isOpaque, isPointInObject, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClick, nClickAtScreenPoint, nClickDrag, nClickDragAtScreenPoint, nClickDragToScreenPoint, performAction, performClick, performClick, performDoubleClick, performSelect, performSetText, performWindowAction, processHoverMouseEvent, processPreDownMouseEvent, processPreUpMouseEvent, proxyGetChildAtPoint, restoreTopLevelWindow, scrollIntoView, scrollIntoView, scrollIntoView, scrollIntoViewN, scrollIntoViewWithDirection, scrollIntoViewWithDirectionN, setClickArgs, setCurrentMethod, setDownPointArgs, setDrag, setMethodSpecification, setMethodSpecification, setMultiClickAction, snapToRectangleaddAdditionalRecognitionProperties, addChildrenHandlesToVector, addChildrenToVector, addChildrenToVector, addDataDrivableCommands, addDojoDomain, addRecognitionProperty, adjustCustomDomains, calculateParentsTextDescendantsMayBecomeInteresting, callJqueryFind, clearAllSubdomains, clearCustomSubdomains, detach, disableAllHtmlCustomDomains, disableHtmlCustomDomain, disableHtmlCustomDomains, enableAllHtmlCustomDomains, enableHtmlCustomDomain, enableHtmlCustomDomains, equals, exists, fetchProperties, filterProxiesBasedOnProps, find, findElementsByXpath, findElementsDirectly, findElementsMatchingRegex, 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, getMainWindowForProcessId, getMappableChildren, getMappableChildren, getMappableElementsByNameInProxyTestObjects, getMappableElementsByTagInProxyTestObjects, getMappableParent, getMappableParent, getMethods, getNonValueProperties, getObject, getObjectClassName, getOwnedObjects, getOwnedObjects, getOwner, getParent, getParent, getParent, getParentN, getProperties, getProperties, getProperty, getProperty, getPropertyInternal, getPropertyInternalRunnable, getPropertyN, getProxyTestObjectsFromEnumeration, getReadOnlyProperty, getRecognitionProperties, getRecognitionPropertyWeight, getSavedDescriptiveName, getScriptCommandFlags, getStandardProperties, getStandardProperties, getTestDomain, getText, getTopMappableParent, getTopParent, getTopParent, getTopParentInternal, getTopParentN, getUniqueId, getValueProperty, 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, splitbaseClassMatch, canTakeVP, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getDataDrivableCommands, getElementWithFocus, getField, getObjectCustomClassName, getProxy, getScriptCommandAnchor, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isValidObject, ping, suppressKeyActionpublic ComboListboxProxy(HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, long handle)
public java.lang.String getRole()
TestObjectRole.ROLE_COMBO_LIST_BOX.public java.lang.Object getChildAtPoint(java.awt.Point pt)
HtmlGuiProxy
If this object has no children, it should return null.
getChildAtPoint in interface com.rational.test.ft.object.interfaces.IGraphicalgetChildAtPoint in class HtmlGuiProxypt - Screen relative point to check.HtmlGuiProxy.getScreenRectangle()public com.rational.test.ft.object.interfaces.IGraphical getClippingParent()
HtmlGuiProxygetClippingParent in class HtmlGuiProxypublic com.rational.test.ft.domain.ProxyTestObject getVisualTopParent()
getVisualTopParent in class HtmlProxypublic void processMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
processMouseEvent in class HtmlGuiProxyaction - The event cache and other mouse state information
for this mouse action.MethodSpecification,
getActionArgs(java.awt.Point)protected java.util.Vector getActionArgs(java.awt.Point point)
getActionArgs in class HtmlGuiProxypoint - point in screen coordinatesprotected ComboListItemProxy getComboListItem(java.awt.Point point)
point - point in screen coordinatespublic java.util.Hashtable getTestDataTypes()
HtmlProxygetTestDataTypes in class HtmlProxyHtmlProxy.getTestData(String),
ITestDatapublic com.rational.test.ft.vp.ITestData getTestData(java.lang.String testDataType)
HtmlProxygetTestDataTypes.getTestData in class HtmlProxytestDataType - A test data type supplied by
getTestDataTypes.HtmlProxy.getTestDataTypes(),
ITestDatapublic com.rational.test.ft.vp.ITestData updateTestData(java.lang.String testDataType,
com.rational.test.ft.vp.ITestData testData)
HtmlProxygetTestDataTypes.
The testData is a previously supplied ITestData
object that needs to be updated to reflect the current state
of the associated test object.updateTestData in class HtmlProxytestDataType - A test data type supplied by
getTestDataTypes.testData - The test data base object that requires
updating.HtmlProxy.getTestDataTypes(),
ITestData