|
IBM Rational Functional Tester Version 8.2.1 IBM Rational Functional Tester Proxy SDK Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rational.test.ft.sys.RegisteredObject
com.rational.test.ft.domain.ProxyTestObject
com.rational.test.ft.domain.java.JavaProxy
com.rational.test.ft.domain.java.JavaGuiProxy
com.rational.test.ft.domain.java.awt.ComponentProxy
com.rational.test.ft.domain.java.awt.AppletProxy
public class AppletProxy
This is the base class for all Java applet test objects.
GuiTestObject
| Property | Usage |
|---|---|
| .class | The Java full class name of the test object. |
| .documentBase | The URL for the document containing the applet. |
| name | The name property, suppressed if default formatted (default form = className+count). |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
ComponentProxy.ChildEnumerator, ComponentProxy.ImmediateChildEnumerator |
| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
childrenEnumerated, CLASSINDEX, CLASSINDEXWEIGHT, MAX_NAME, NAMEPROPERTY, NAMEPROPERTYWEIGHT, PRIORLABEL, PRIORLABELWEIGHT |
| Fields inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
|---|
LEFT, preDownState, processMouseEventHandler, ROLEINDEX, ROLEINDEXWEIGHT, TESTDATA_SPECIALFRAMESTATE, TESTDATA_SPECIALFRAMESTATE_DESCRIPTION, topLevelWindow |
| Fields inherited from class com.rational.test.ft.domain.java.JavaProxy |
|---|
debug, uniqueId |
| Fields inherited from class com.rational.test.ft.sys.RegisteredObject |
|---|
theTestObject |
| Fields inherited from interface com.rational.test.ft.object.interfaces.ITopWindow |
|---|
INPUTCHARS_METHOD, INPUTKEYS_METHOD |
| Fields inherited from interface com.rational.test.ft.domain.IDataDriven |
|---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
| Constructor Summary | |
|---|---|
AppletProxy(java.lang.Object theObjectInTheSUT)
Sets the SUT object as a member variable for the proxy. |
|
| Method Summary | |
|---|---|
void |
activate()
Brings the window to top |
void |
clickDisabled()
Click on a window that is disabled or waiting on the modal dialog. |
void |
close()
Closes the associated frame. |
void |
contextHelp()
Activate the context-sensitive Help |
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
ProxyTestObject |
getMappableParent()
Returns a proxy object for the mappable parent of this object; returns null if this object has no mappable parent. |
ProxyTestObject |
getParent()
Returns a proxy object for the parent of this object; returns null if this object has no parent. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Gets the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_BUTTON. |
void |
inputChars(java.lang.String characters)
Sends the supplied characters to the associated window. |
void |
inputKeys(java.lang.String keys)
Sends the supplied characters to the associated window. |
boolean |
isIconified()
Provides access to the iconified state of the frame |
void |
maximize()
Maximizes the associated frame. |
void |
minimize()
Iconifies the associated frame. |
void |
move(java.awt.Point screenPt)
Moves the frame to the specified location within parent. |
void |
resize(int width,
int height)
Resizes the frame to the specified width and height. |
void |
restore()
Restores the associated frame. |
| Methods inherited from class com.rational.test.ft.domain.java.awt.ComponentProxy |
|---|
canBeScrolled, childConstructed, getChildAtPoint, getChildProxy, getChildrenEnumeration, getClippedRect, getComponentChildren, getEmbeddedBrowsers, getImmediateChildren, getLabelText, getLeadingLabel, getLocationOnScreen, getMappableChildren, getName, getOwnedObjects, getOwner, getParent2, getParentObject, getScreenRectangle, getTopParent, getWindow, hasFocus, isDopeyDynamicName, isEnabled, isHScroll, isLabelled, isOpaque, isRecognitionProperty, isShowing, isVScroll, setParent |
| Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
|---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMethods, getNonValueProperties, getProperties, getRecognitionProperties, getRecognitionPropertyWeight, getStandardProperties, getTestDataTypes, getTestDomain, getTopMappableParent, getUniqueId, getVisualClippableParent, hasAddedRecognitionProperties, setIndexer, setProperty |
| Methods inherited from class com.rational.test.ft.sys.RegisteredObject |
|---|
addProxyReference, dereference, getObject, getRegisteredId, getTransactionId, isReferenced, isReleaseRequired, register, registerTransiently, release, toString, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphical |
|---|
click, 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, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
| Constructor Detail |
|---|
public AppletProxy(java.lang.Object theObjectInTheSUT)
| Method Detail |
|---|
public java.lang.String getDescriptiveName()
getDescriptiveName in class ComponentProxypublic java.lang.String getRole()
TestObjectRole.ROLE_BUTTON.
getRole in class ComponentProxypublic ProxyTestObject getParent()
null if this object has no parent.
getParent in class ComponentProxynull
for a top-level object.public ProxyTestObject getMappableParent()
null if this object has no mappable parent.
Note that only a proxy that shouldBeMapped
should be returned from this method.
getMappableParent in class ComponentProxynull
for a top-level mapped object.public java.lang.Object getProperty(java.lang.String propertyName)
getProperty in class ComponentProxypropertyName - The name of the property to fetch.
ProxyTestObject.getProperties(),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getRecognitionProperties(),
ProxyTestObject.addRecognitionProperty(String,Object,int)public void inputKeys(java.lang.String keys)
com.rational.test.ft.object.interfaces.ITopWindow
inputKeys in interface com.rational.test.ft.object.interfaces.ITopWindowkeys - java.lang.String The keys to be sent to the current active windowpublic void inputChars(java.lang.String characters)
com.rational.test.ft.object.interfaces.ITopWindow
Note that passing in a null string will result in a
BadArgumentException
being thrown.
inputChars in interface com.rational.test.ft.object.interfaces.ITopWindowcharacters - the characters to be processed by this windowpublic void activate()
com.rational.test.ft.object.interfaces.ITopWindow
activate in interface com.rational.test.ft.object.interfaces.ITopWindowpublic void close()
com.rational.test.ft.object.interfaces.IFrame
close in interface com.rational.test.ft.object.interfaces.IFramepublic void maximize()
com.rational.test.ft.object.interfaces.IFrame
maximize in interface com.rational.test.ft.object.interfaces.IFramepublic void minimize()
com.rational.test.ft.object.interfaces.IFrame
minimize in interface com.rational.test.ft.object.interfaces.IFramepublic void restore()
com.rational.test.ft.object.interfaces.IFrame
restore in interface com.rational.test.ft.object.interfaces.IFramepublic boolean isIconified()
com.rational.test.ft.object.interfaces.IFrame
isIconified in interface com.rational.test.ft.object.interfaces.IFrame
public void resize(int width,
int height)
com.rational.test.ft.object.interfaces.IFrame
resize in interface com.rational.test.ft.object.interfaces.IFramewidth - The new width in pixels sizeheight - The new height in pixel sizepublic void move(java.awt.Point screenPt)
com.rational.test.ft.object.interfaces.IFrame
move in interface com.rational.test.ft.object.interfaces.IFramescreenPt - The point specified in java.awt.Point to move the applicationpublic void contextHelp()
com.rational.test.ft.object.interfaces.IFrame
contextHelp in interface com.rational.test.ft.object.interfaces.IFramepublic void clickDisabled()
com.rational.test.ft.object.interfaces.ITopWindow
clickDisabled in interface com.rational.test.ft.object.interfaces.ITopWindow
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||