public class EmbeddedBrowserProxy extends HtmlGuiProxy implements com.rational.test.ft.object.interfaces.IBrowserObject
HtmlGuiProxy.Clicker, HtmlGuiProxy.DoubleClicker, HtmlGuiProxy.Dragger, HtmlGuiProxy.Hoverer, HtmlGuiProxy.nClickDragger, HtmlGuiProxy.nClicker, HtmlGuiProxy.PointIteratorHtmlProxy.GetObjectRunnable, HtmlProxy.HtmlElementEnumeration, HtmlProxy.IntegerByReference, HtmlProxy.InvalidNativeHandleException, HtmlProxy.JSObjectHtmlElementEnumeration, HtmlProxy.NativeProxyReleasedExceptionCOLON, 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 |
|---|
EmbeddedBrowserProxy(HtmlTestDomainImplementation domain,
com.rational.test.ft.domain.IChannel channel,
long handle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
back() |
void |
deleteCookies() |
void |
deleteCookies(java.lang.String cookie,
boolean recursive) |
boolean |
forward() |
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.
|
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI
object in a script.
|
HtmlDocumentProxy |
getDocument()
Return a Proxy to the Html Document that contains this element.
|
com.rational.test.ft.domain.ProxyTestObject |
getElementWithFocus() |
com.rational.test.ft.domain.ProxyTestObject |
getMappableParent()
Walks the
HtmlProxy.getParent() relationship until a mappable parent is encountered. |
com.rational.test.ft.domain.ProxyTestObject[] |
getOwnedObjects() |
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.domain.ProxyTestObject |
getParent()
Returns null always because object relationships are not
understood at this level of abstaction.
|
java.lang.String |
getTestObjectClassName()
The default GUI marshaller is returned.
|
com.rational.test.ft.domain.ProxyTestObject |
getTopMappableParent()
Returns
getTopParent() which is the browser and
is always mappable. |
com.rational.test.ft.domain.ProxyTestObject |
getTopParent()
Returns a proxy object for the top parent of this object.
|
protected com.rational.test.ft.domain.ProxyTestObject |
getTopParentInternal()
Returns a proxy object for the top most parent of this object, or null if
this object has no parent.
|
java.lang.String |
getUniqueId() |
boolean |
home() |
boolean |
isShowing() |
boolean |
loadUrl(java.lang.String url) |
boolean |
loadUrl(java.lang.String url,
java.lang.String target) |
void |
release() |
boolean |
shouldBeMapped()
Returns false, by default only GUI test objects are mapped.
|
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, getChildAtPointN, getChildrenHandlesMatchingProperty, getClippedScreenRectangle, 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, isEnabled, isInView, isInView, isOpaque, isPointInObject, isPointInObject, mouseMove, mouseMove, nClick, nClick, nClickAtScreenPoint, nClickDrag, nClickDragAtScreenPoint, nClickDragToScreenPoint, performAction, performClick, performClick, performDoubleClick, performSelect, performSetText, performWindowAction, processHoverMouseEvent, processMouseEvent, 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, getDisabledProperty, getDocClassIndex, 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, getMethods, getNonValueProperties, getObject, getObjectClassName, getOwnedObjects, getParent, getParent, getParentN, getProperties, getProperties, getProperty, getProperty, getPropertyInternal, getPropertyInternalRunnable, getPropertyN, getProxyTestObjectsFromEnumeration, getReadOnlyProperty, getRecognitionProperties, getRecognitionPropertyWeight, getRole, getSavedDescriptiveName, getScriptCommandFlags, getStandardProperties, getStandardProperties, getTestData, getTestDataTypes, getTestDomain, getText, getTopParent, getTopParentN, getValueProperty, getVisualTopParent, hasAddedRecognitionProperties, isClassIndexConsidered, isClassIndexPropertyAndValueDefined, isClassIndexSet, isContextObjectSet, isContextObjectSet, isDocClassIndexSet, isEqual, isFindOptimized, isObjectDead, isPropertyOptimizable, isReleaseRequired, isSameObject, isScoreForFindBYIdorName, isValidRecognitionProperty, isXpathSupported, matches, 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, getField, getObjectCustomClassName, getProxy, getScriptCommandAnchor, getVisualClippedRectangle, getVisualMappableChildren, getVOMSpecificProperty, hasSpecialFrameState, isValidObject, ping, suppressKeyActionpublic EmbeddedBrowserProxy(HtmlTestDomainImplementation domain, com.rational.test.ft.domain.IChannel channel, long handle)
public com.rational.test.ft.domain.ProxyTestObject getElementWithFocus()
getElementWithFocus in class com.rational.test.ft.domain.ProxyTestObjectpublic java.lang.String getTestObjectClassName()
HtmlProxygetTestObjectClassName in interface com.rational.test.ft.domain.IProxyBasegetTestObjectClassName in class HtmlGuiProxypublic java.lang.String getDescriptiveName()
HtmlProxygetDescriptiveName in class HtmlProxypublic java.lang.String getUniqueId()
getUniqueId in class HtmlProxypublic boolean shouldBeMapped()
HtmlProxyshouldBeMapped in class HtmlProxypublic com.rational.test.ft.object.interfaces.IGraphical getClippingParent()
HtmlGuiProxygetClippingParent in class HtmlGuiProxypublic HtmlDocumentProxy getDocument()
HtmlProxygetDocument in class HtmlProxypublic 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.domain.ProxyTestObject getParent()
HtmlProxypublic com.rational.test.ft.domain.ProxyTestObject getMappableParent()
HtmlProxyHtmlProxy.getParent() relationship until a mappable parent is encountered.getMappableParent in class HtmlProxypublic com.rational.test.ft.domain.ProxyTestObject getTopParent()
HtmlProxygetTopParent in class HtmlProxyprotected com.rational.test.ft.domain.ProxyTestObject getTopParentInternal()
HtmlProxygetTopParentInternal in class HtmlProxypublic com.rational.test.ft.domain.ProxyTestObject getTopMappableParent()
HtmlProxygetTopParent() which is the browser and
is always mappable.getTopMappableParent in class HtmlProxypublic com.rational.test.ft.domain.ProxyTestObject getOwner()
HtmlProxypublic com.rational.test.ft.domain.ProxyTestObject[] getOwnedObjects()
getOwnedObjects in class HtmlProxypublic boolean isShowing()
isShowing in interface com.rational.test.ft.object.interfaces.IGraphicalisShowing in class HtmlGuiProxypublic boolean back()
back in interface com.rational.test.ft.object.interfaces.IBrowserObjectpublic boolean forward()
forward in interface com.rational.test.ft.object.interfaces.IBrowserObjectpublic boolean home()
home in interface com.rational.test.ft.object.interfaces.IBrowserObjectpublic boolean loadUrl(java.lang.String url,
java.lang.String target)
loadUrl in interface com.rational.test.ft.object.interfaces.IBrowserObjectpublic boolean loadUrl(java.lang.String url)
loadUrl in interface com.rational.test.ft.object.interfaces.IBrowserObjectpublic void deleteCookies()
deleteCookies in interface com.rational.test.ft.object.interfaces.IBrowserObjectpublic void deleteCookies(java.lang.String cookie,
boolean recursive)
deleteCookies in interface com.rational.test.ft.object.interfaces.IBrowserObject