public abstract class TopLevelWindowProxy extends HtmlGuiProxy implements com.rational.test.ft.object.interfaces.ITopWindow
HtmlTestDomainImplementation.
GuiTestObject
| 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. |
| .id | This is the value of the id attribute of an element. |
| .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. |
| .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. |
| Modifier and Type | Class and Description |
|---|---|
protected class |
TopLevelWindowProxy.CharEmiter |
protected class |
TopLevelWindowProxy.KeyEmiter |
HtmlGuiProxy.Clicker, HtmlGuiProxy.DoubleClicker, HtmlGuiProxy.Dragger, HtmlGuiProxy.Hoverer, HtmlGuiProxy.nClickDragger, HtmlGuiProxy.nClicker, HtmlGuiProxy.PointIteratorHtmlProxy.GetObjectRunnable, HtmlProxy.HtmlElementEnumeration, HtmlProxy.IntegerByReference, HtmlProxy.InvalidNativeHandleException, HtmlProxy.JSObjectHtmlElementEnumeration, HtmlProxy.NativeProxyReleasedExceptioncurrentMethod, GETSCREENSNAPSHOT, IS_WEB_PLAYER, 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, vomClippedRectangleINPUTCHARS_METHOD, INPUTKEYS_METHOD| Constructor and Description |
|---|
TopLevelWindowProxy(HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
long handle) |
TopLevelWindowProxy(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 |
activate() |
void |
clickDisabled() |
void |
close() |
void |
contextHelp() |
com.rational.test.ft.domain.ProxyTestObject |
getOwner()
Returns null always because object relationships are not
understood at this level of abstaction.
|
com.rational.test.ft.script.ScriptCommandFlags |
getScriptCommandFlags() |
abstract com.rational.test.ft.sys.graphical.TopLevelWindow |
getWindow() |
void |
inputChars(java.lang.String keys) |
void |
inputKeys(java.lang.String keys) |
boolean |
isIconified() |
boolean |
isShowing() |
void |
maximize() |
void |
minimize() |
void |
move(java.awt.Point screenPt) |
void |
processBrowserPostUpMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action) |
void |
processBrowserPreDownMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action) |
void |
processMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event.
|
void |
resize(int width,
int height) |
void |
restore() |
boolean |
switchTo() |
activateTopWindow, 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, 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, getTestObjectClassName, getVisualClippableParent, hasFocus, hover, hover, hover, hover, hoverAtScreenPoint, isEnabled, isInView, isInView, isOpaque, isPointInObject, isPointInObject, 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, 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, getMappableChildren, getMappableElementsByNameInProxyTestObjects, getMappableElementsByTagInProxyTestObjects, getMappableParent, getMappableParent, getMethods, getNonValueProperties, getObject, getObjectClassName, getOwnedObjects, getOwnedObjects, getParent, getParent, getParent, getParentN, getProperties, getProperties, getProperty, getProperty, getPropertyInternal, getPropertyInternalRunnable, getPropertyN, getProxyTestObjectsFromEnumeration, getReadOnlyProperty, getRecognitionProperties, getRecognitionPropertyWeight, getRole, getSavedDescriptiveName, getStandardProperties, getStandardProperties, getTestData, getTestDataTypes, 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, shouldBeMapped, shouldDocumentBeAdded, split, updateTestDatabaseClassMatch, canTakeVP, findChildrenWithProperties, findChildrenWithPropertiesAndInvoke, getDataDrivableCommands, getElementWithFocus, getField, getObjectCustomClassName, getProxy, getScriptCommandAnchor, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isValidObject, ping, suppressKeyActionaddProxyReference, dereference, getRegisteredId, getTransactionId, isReferenced, register, registerTransiently, toString, unregisterclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclick, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPointpublic TopLevelWindowProxy(HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, long handle, com.rational.test.ft.domain.html.chrome.IBrowserCommunicator jswrap)
public TopLevelWindowProxy(HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, long handle)
public void processMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
HtmlGuiProxyprocessMouseEvent in class HtmlGuiProxyaction - The event cache and other mouse state information
for this mouse action.MethodSpecification,
HtmlGuiProxy.getActionArgs(java.awt.Point)public boolean isShowing()
isShowing in interface com.rational.test.ft.object.interfaces.IGraphicalisShowing in class HtmlGuiProxypublic abstract com.rational.test.ft.sys.graphical.TopLevelWindow getWindow()
public void processBrowserPreDownMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
public void processBrowserPostUpMouseEvent(com.rational.test.ft.domain.IMouseActionInfo action)
public com.rational.test.ft.script.ScriptCommandFlags getScriptCommandFlags()
getScriptCommandFlags in class HtmlProxypublic void activate()
activate in interface com.rational.test.ft.object.interfaces.ITopWindowpublic void close()
close in interface com.rational.test.ft.object.interfaces.IFramepublic void contextHelp()
contextHelp in interface com.rational.test.ft.object.interfaces.IFramepublic void maximize()
maximize in interface com.rational.test.ft.object.interfaces.IFramepublic void minimize()
minimize in interface com.rational.test.ft.object.interfaces.IFramepublic void restore()
restore in interface com.rational.test.ft.object.interfaces.IFramepublic void resize(int width,
int height)
resize in interface com.rational.test.ft.object.interfaces.IFramepublic void move(java.awt.Point screenPt)
move in interface com.rational.test.ft.object.interfaces.IFramepublic boolean isIconified()
isIconified in interface com.rational.test.ft.object.interfaces.IFramepublic void clickDisabled()
clickDisabled in interface com.rational.test.ft.object.interfaces.ITopWindowpublic void inputKeys(java.lang.String keys)
inputKeys in interface com.rational.test.ft.object.interfaces.ITopWindowpublic void inputChars(java.lang.String keys)
inputChars in interface com.rational.test.ft.object.interfaces.ITopWindowpublic com.rational.test.ft.domain.ProxyTestObject getOwner()
HtmlProxypublic boolean switchTo()