public class SelectProxy extends ControlProxy implements com.rational.test.ft.object.interfaces.ISubitem, com.rational.test.ft.object.interfaces.IGraphicalSubitem, IHtmlGraphicalSubitem, com.rational.test.ft.object.interfaces.ISelect
GuiSubitemTestObject
| Type | Desciption | |
|---|---|---|
| list | List Elements | ITestDataList |
| selected | 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 |
| .target | The value of the target attribute of an element. For anchors this indicates the name of the target frame, that is, the frame where the document should be opened. |
| .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. |
| .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. |
| Modifier and Type | Class and Description |
|---|---|
protected class |
SelectProxy.OptionElementEnumeration
An enumerator for option elements.
|
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, 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 |
|---|
SelectProxy(HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
long handle) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activateTopWindow() |
void |
click(com.rational.test.ft.script.MouseModifiers modifiers) |
void |
click(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem) |
void |
click(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
void |
click(com.rational.test.ft.script.Subitem subitem) |
void |
click(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
void |
deselectAll() |
void |
doubleClick(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem) |
void |
doubleClick(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
void |
doubleClick(com.rational.test.ft.script.Subitem subitem) |
void |
doubleClick(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem) |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem1,
java.awt.Point pt1,
com.rational.test.ft.script.Subitem subitem2,
java.awt.Point pt2) |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem1,
com.rational.test.ft.script.Subitem subitem2) |
void |
drag(com.rational.test.ft.script.Subitem subitem) |
void |
drag(com.rational.test.ft.script.Subitem subitem1,
java.awt.Point pt1,
com.rational.test.ft.script.Subitem subitem2,
java.awt.Point pt2) |
void |
drag(com.rational.test.ft.script.Subitem subitem1,
com.rational.test.ft.script.Subitem subitem2) |
void |
dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point screenPt) |
void |
dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt,
java.awt.Point screenPt) |
void |
dragToScreenPoint(com.rational.test.ft.script.Subitem subitem,
java.awt.Point screenPt) |
void |
dragToScreenPoint(com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt,
java.awt.Point screenPt) |
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.
|
protected java.lang.String[] |
getAllText(int limit) |
java.lang.Object |
getChildAtPoint(java.awt.Point pt)
All children of Select elements are subitems, so this method always returns
null. |
protected ComboListboxProxy |
getComboListboxProxy() |
protected ComboListItemProxy |
getComboListItem(int index)
If this SELECT element is a ComboListbox, get the associated
ComboListItemProxy (subobject) by list index
|
com.rational.test.ft.sys.MethodSpecification |
getDataDrivableCommand()
This method must be implemented by any proxy that wishes to support
data driving.
|
protected java.lang.String |
getItemText(int index)
Returns the value at the specified index.
|
protected SubobjectProxy |
getOption(int index)
Get the option element (subobject) at the corresponding index.
|
protected SubobjectProxy |
getOption(java.awt.Point point)
Get an option element (subobject) at the given point.
|
int |
getOptionIndex(OptionProxy option) |
protected java.lang.String[] |
getOptionItems() |
protected java.lang.String[] |
getOptionItems(int limit) |
protected java.lang.String[] |
getOptionItems(com.rational.test.ft.domain.html.SelectProxy.IOptionChoice choice) |
java.lang.String |
getRole()
Returns
TestObjectRole.ROLE_HTML. |
java.awt.Point |
getScreenPoint(HtmlGuiProxy subObject)
Returns the screen relative point to the center of the supplied
subitem.
|
java.awt.Point |
getScreenPoint(HtmlGuiProxy subObject,
java.awt.Point pt)
Returns the screen relative point given a subitem and a subitem
relative point.
|
java.awt.Point |
getScreenPoint(com.rational.test.ft.script.Subitem subitem) |
java.awt.Point |
getScreenPoint(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
java.awt.Rectangle |
getScreenRectangle(HtmlGuiProxy subObject)
Returns the rectangle that contains the component being
evaluated relative to the top left corner of the screen.
|
java.awt.Rectangle |
getScreenRectangle(com.rational.test.ft.script.Subitem subitem) |
protected java.lang.String[] |
getSelectedOptionItems() |
java.lang.String |
getSelectedText()
Allows direct access to the selected text property on the control.
|
java.lang.Object |
getSubitem(com.rational.test.ft.script.Subitem subitem)
Returns an object that represents the specified subitem in the associated
test object.
|
java.lang.String[] |
getSubmitData()
Return an array of String objects which contains Submit Data for the
control.
|
HtmlGuiProxy |
getSubobject(com.rational.test.ft.script.Subitem subitem)
Returns the subobject specified by the 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.
|
void |
hover(double secondDelay,
com.rational.test.ft.script.Subitem subitem) |
void |
hover(double secondDelay,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
void |
hover(com.rational.test.ft.script.Subitem subitem) |
void |
hover(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
boolean |
isDropdownList() |
boolean |
isDropDownReady() |
boolean |
isEnabled()
This method returns if user input is currently enabled for
the element
|
boolean |
isFullyInView() |
boolean |
isInView()
Is the object in view (not clipped)?
|
boolean |
isMultiSelect()
Does the Select element allow multiple selections?
|
void |
mouseMove(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem) |
void |
mouseMove(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
void |
mouseMove(com.rational.test.ft.script.Subitem subitem) |
void |
mouseMove(com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt) |
void |
nClick(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt) |
void |
nClickDrag(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem1,
java.awt.Point pt1,
com.rational.test.ft.script.Subitem subitem2,
java.awt.Point pt2) |
void |
nClickDrag(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem1,
com.rational.test.ft.script.Subitem subitem2) |
void |
nClickDragToScreenPoint(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point screenPt) |
void |
nClickDragToScreenPoint(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt,
java.awt.Point screenPt) |
boolean |
performSelect(java.lang.String item) |
protected void |
processPreDownMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action) |
void |
select(int index) |
void |
select(java.lang.String item) |
void |
setState(com.rational.test.ft.script.Action action) |
void |
setState(com.rational.test.ft.script.Action action,
com.rational.test.ft.script.Subitem item) |
void |
setState(com.rational.test.ft.script.Action action,
com.rational.test.ft.script.Subitem start,
com.rational.test.ft.script.Subitem end) |
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.
|
shouldBeMappedclick, 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, 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, isOpaque, isPointInObject, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClick, nClickAtScreenPoint, nClickDrag, nClickDragAtScreenPoint, nClickDragToScreenPoint, performAction, performClick, performClick, performDoubleClick, 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, calculateParentsTextDescendantsMayBecomeInteresting, 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, 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, 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, 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, splitbaseClassMatch, canTakeVP, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getDataDrivableCommands, getElementWithFocus, getField, getObjectCustomClassName, getProxy, getScriptCommandAnchor, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isValidObject, ping, suppressKeyActionaddProxyReference, dereference, getRegisteredId, getTransactionId, isReferenced, register, registerTransiently, toString, unregisterpublic SelectProxy(HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, long handle)
public java.lang.String getTestObjectClassName()
HtmlProxygetTestObjectClassName in interface com.rational.test.ft.domain.IProxyBasegetTestObjectClassName in class HtmlGuiProxypublic java.lang.Object getChildAtPoint(java.awt.Point pt)
null.getChildAtPoint in interface com.rational.test.ft.object.interfaces.IGraphicalgetChildAtPoint in class HtmlGuiProxypt - Screen relative point to check.HtmlGuiProxy.getScreenRectangle()public void setState(com.rational.test.ft.script.Action action,
com.rational.test.ft.script.Subitem item)
setState in interface com.rational.test.ft.object.interfaces.ISubitempublic void setState(com.rational.test.ft.script.Action action)
setState in interface com.rational.test.ft.object.interfaces.ISubitempublic void setState(com.rational.test.ft.script.Action action,
com.rational.test.ft.script.Subitem start,
com.rational.test.ft.script.Subitem end)
setState in interface com.rational.test.ft.object.interfaces.ISubitempublic void deselectAll()
public 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.lang.String getSelectedText()
getSelectedText in interface com.rational.test.ft.object.interfaces.ISelectprotected java.lang.String getItemText(int index)
index - the specified index.protected java.lang.String[] getAllText(int limit)
public void select(java.lang.String item)
select in interface com.rational.test.ft.object.interfaces.ISelectpublic boolean performSelect(java.lang.String item)
performSelect in class HtmlGuiProxypublic void select(int index)
select in interface com.rational.test.ft.object.interfaces.ISelectpublic boolean isEnabled()
isEnabled in interface com.rational.test.ft.object.interfaces.IGraphicalisEnabled in class ControlProxytrue, input is enabledpublic java.lang.String getRole()
HtmlProxyTestObjectRole.ROLE_HTML.public boolean isDropdownList()
public boolean isFullyInView()
public boolean isInView()
HtmlGuiProxyisInView in class HtmlGuiProxyprotected void processPreDownMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
processPreDownMouseEvent in class HtmlGuiProxyprotected ComboListboxProxy getComboListboxProxy()
public boolean isDropDownReady()
public java.awt.Rectangle getScreenRectangle(com.rational.test.ft.script.Subitem subitem)
getScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic java.awt.Point getScreenPoint(com.rational.test.ft.script.Subitem subitem)
getScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic java.awt.Point getScreenPoint(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
getScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic java.lang.Object getSubitem(com.rational.test.ft.script.Subitem subitem)
SubitemNotFoundException
will be thrown if the specified subitem is invalid relative to the associated
test object. null may be returned if the subitem does not have
an object association that can be returned.getSubitem in interface com.rational.test.ft.object.interfaces.IGraphicalSubitemsubitem - The subitem to fetch an object for.public void click(com.rational.test.ft.script.MouseModifiers modifiers)
click in interface com.rational.test.ft.object.interfaces.IGraphicalclick in class HtmlGuiProxypublic void click(com.rational.test.ft.script.Subitem subitem)
click in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void click(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem)
click in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void click(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
click in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void click(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
click in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void doubleClick(com.rational.test.ft.script.Subitem subitem)
doubleClick in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void doubleClick(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem)
doubleClick in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void doubleClick(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
doubleClick in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void doubleClick(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
doubleClick in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void nClick(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
nClick in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void drag(com.rational.test.ft.script.Subitem subitem)
drag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void drag(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem)
drag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void drag(com.rational.test.ft.script.Subitem subitem1,
com.rational.test.ft.script.Subitem subitem2)
drag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void drag(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem1,
com.rational.test.ft.script.Subitem subitem2)
drag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void drag(com.rational.test.ft.script.Subitem subitem1,
java.awt.Point pt1,
com.rational.test.ft.script.Subitem subitem2,
java.awt.Point pt2)
drag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void drag(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem1,
java.awt.Point pt1,
com.rational.test.ft.script.Subitem subitem2,
java.awt.Point pt2)
drag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void nClickDrag(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem1,
com.rational.test.ft.script.Subitem subitem2)
nClickDrag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void nClickDrag(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem1,
java.awt.Point pt1,
com.rational.test.ft.script.Subitem subitem2,
java.awt.Point pt2)
nClickDrag in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void dragToScreenPoint(com.rational.test.ft.script.Subitem subitem,
java.awt.Point screenPt)
dragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point screenPt)
dragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void dragToScreenPoint(com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt,
java.awt.Point screenPt)
dragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt,
java.awt.Point screenPt)
dragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void nClickDragToScreenPoint(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point screenPt)
nClickDragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void nClickDragToScreenPoint(int clickCount,
com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt,
java.awt.Point screenPt)
nClickDragToScreenPoint in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void mouseMove(com.rational.test.ft.script.Subitem subitem)
mouseMove in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void mouseMove(com.rational.test.ft.script.Subitem subitem,
java.awt.Point subitemPt)
mouseMove in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void mouseMove(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem)
mouseMove in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void mouseMove(com.rational.test.ft.script.MouseModifiers modifiers,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
mouseMove in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void hover(double secondDelay,
com.rational.test.ft.script.Subitem subitem)
hover in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void hover(double secondDelay,
com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
hover in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void hover(com.rational.test.ft.script.Subitem subitem)
hover in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic void hover(com.rational.test.ft.script.Subitem subitem,
java.awt.Point pt)
hover in interface com.rational.test.ft.object.interfaces.IGraphicalSubitempublic HtmlGuiProxy getSubobject(com.rational.test.ft.script.Subitem subitem)
IHtmlGraphicalSubitemgetSubobject in interface IHtmlGraphicalSubitemsubitem - The subitem which identifies the subobject to be returned.public java.awt.Rectangle getScreenRectangle(HtmlGuiProxy subObject)
IHtmlGraphicalSubitemgetScreenRectangle
for the parent object, and then adjusting for the specified
subitem) combined into a single operation. The
rectangle is exposed so that actions may be directly scripted
against a visible subitem. null is returned if
the subitem is not showing.getScreenRectangle in interface IHtmlGraphicalSubitempublic java.awt.Point getScreenPoint(HtmlGuiProxy subObject)
IHtmlGraphicalSubitemgetScreenPoint in interface IHtmlGraphicalSubitempublic java.awt.Point getScreenPoint(HtmlGuiProxy subObject, java.awt.Point pt)
IHtmlGraphicalSubitemgetScreenPoint in interface IHtmlGraphicalSubitempt - The subitem relative point.protected void activateTopWindow()
activateTopWindow in class HtmlGuiProxyprotected java.util.Vector getActionArgs(java.awt.Point point)
getActionArgs in class HtmlGuiProxypoint - point in screen coordinatespublic boolean isMultiSelect()
Multiple attributeprotected ComboListItemProxy getComboListItem(int index)
index - (0 relative)protected SubobjectProxy getOption(java.awt.Point point)
point - point in screen coordinatesprotected SubobjectProxy getOption(int index)
index - (0 relative)public int getOptionIndex(OptionProxy option)
option - public java.lang.String[] getSubmitData()
ControlProxygetSubmitData in class ControlProxyprotected java.lang.String[] getSelectedOptionItems()
protected java.lang.String[] getOptionItems()
protected java.lang.String[] getOptionItems(int limit)
protected java.lang.String[] getOptionItems(com.rational.test.ft.domain.html.SelectProxy.IOptionChoice choice)
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 com.rational.test.ft.vp.ITestData updateTestData(java.lang.String testDataType,
com.rational.test.ft.vp.ITestData testData)
getTestDataTypes.
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.getTestDataTypes(),
ITestData