|
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.swt.ControlProxy
com.rational.test.ft.domain.java.swt.ShellProxy
public class ShellProxy
This is the proxy class for org.eclipse.swt.widgets.Shell.
TopLevelTestObject
| Property | Usage |
|---|---|
| .class | The Java full class name of the test object. |
| .classIndex | The zero-based index of the class relative to the immediate parent in the object map. |
| .priorLabel | The text of a preceding label. Suppressed if there is no preceding label. |
| .groupText | The text of a group parent. Only available if parent is a group. Omitted if the group parent has no visible text. |
| .toolTipText | The text from the associated tool tip, omitted if there is no associated tool tip. |
| .captionText | The visible text on the window titlebar. |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.rational.test.ft.domain.java.swt.ControlProxy |
|---|
ControlProxy.ChildEnumerator, ControlProxy.ImmediateChildEnumerator |
| Field Summary | |
|---|---|
protected static java.lang.String |
CAPTION
|
static java.lang.String |
INPUTKEYS_METHOD
The name of the inputKeys method. |
| Fields inherited from class com.rational.test.ft.domain.java.swt.ControlProxy |
|---|
childrenEnumerated, CLASSINDEX, CLASSINDEXWEIGHT, clickArgs, currentMethod, GROUPTEXT, GROUPTEXTWEIGHT, HANDLE, MAPPABLECLASSINDEX, MAPPABLECLASSINDEXWEIGHT, MAX_NAME, predownScreenRect, PRIORLABEL, PRIORLABELWEIGHT, TOOLTIPTEXT, TOOLTIPTEXTWEIGHT |
| 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 |
| Fields inherited from interface com.rational.test.ft.domain.IDataDriven |
|---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
| Constructor Summary | |
|---|---|
ShellProxy(java.lang.Object theObjectInTheSUT)
This sole constructor for all proxy objects sets the SUT object as a member variable for the proxy. |
|
| Method Summary | |
|---|---|
void |
activate()
This method causes the associated window control to become the active window, if possible. |
void |
clickDisabled()
Click on a window that is disabled or waiting on the modal dialog. |
void |
close()
This method closes the associated window. |
void |
contextHelp()
Activate the context-sensitive Help |
protected com.rational.test.ft.script.CaptionText |
getCaption()
Returns the Title for the Frame object. |
java.util.Enumeration |
getChildrenEnumeration()
Returns a proxy object for the owner of this object. |
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
ProxyTestObject |
getEclipsePlatformObject()
|
long |
getHandle()
Get the value for the handle field. |
java.util.Enumeration |
getImmediateChildren()
Return an enumeration of proxies for the immediate children of this object. |
ProxyTestObject |
getMenuBar()
Return the menu bar associated with this frame. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_FRAME. |
java.awt.Rectangle |
getScreenRectangle()
Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. |
com.rational.test.ft.script.ScriptCommandFlags |
getScriptCommandFlags()
This method returns an active state value that reflects the state of the test object at the time of the call. |
java.lang.String |
getTestObjectClassName()
Returns the classname of a top level gui test object. |
java.lang.String |
getText()
|
void |
inputChars(java.lang.String keys)
This method sends the supplied characters to the associated window. |
void |
inputKeys(java.lang.String keys)
This method sends the supplied characters to the associated window. |
boolean |
isIconified()
Provides access to the iconified state of the frame |
void |
maximize()
This method maximizes the associated window. |
void |
minimize()
This method iconifies the associated window. |
void |
move(java.awt.Point screenPt)
Moves the frame to the specified location within parent. |
void |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
void |
resize(int width,
int height)
Resizes the frame to the specified width and height. |
void |
restore()
This method restores the associated window. |
| Methods inherited from class com.rational.test.ft.domain.java.swt.ControlProxy |
|---|
childConstructed, getActionArgs, getChannel, getChildProxy, getClippedScreenRectangle, getDefaultActionArgs, getLabelText, getLeadingLabel, getLocationOnScreen, getMappableParent, getName, getOwnedObjects, getOwner, getParent, getParentObject, getReorderedChildren, getStyle, getToolTipText, getTopMappableParent, getTopParent, getVisualClippedRectangle, hasFocus, isEnabled, isGTK, isLabelled, isObjectMoved, isShell, isShowing, processHoverMouseEvent, processPreDownMouseEvent, processPreUpMouseEvent, scrollRectToVisible, setClickArgs, setDownPointArgs, setDrag, setMethodSpecification, setMultiClickAction, setRecordCache |
| Methods inherited from class com.rational.test.ft.domain.java.JavaGuiProxy |
|---|
activateTopWindow, click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dumpAction, ensureObjectIsVisible, getActionRect, getCachedRectX, getCachedRectY, getChildAtPoint, getClippedRect, getMethodSpecForPoint, getProcessMouseEventHandler, getRegisteredTopLevelWindow, getScreenPoint, getScreenPoint, getTopMappableWindow, getTopWindow, hover, hover, hover, hover, isDrag, isOpaque, isPointInObject, isPointInObject, modifiersChanged, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, processMouseEvent, setProcessMouseEventHandler, setTopLevelWindow, shouldBeMapped |
| Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
|---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMappableChildren, getMethods, getNonValueProperties, getProperties, getRecognitionProperties, getRecognitionPropertyWeight, getStandardProperties, getTestDataTypes, getTestDomain, getUniqueId, getVisualClippableParent, hasAddedRecognitionProperties, isRecognitionProperty, 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, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
| Field Detail |
|---|
protected static final java.lang.String CAPTION
public static final java.lang.String INPUTKEYS_METHOD
| Constructor Detail |
|---|
public ShellProxy(java.lang.Object theObjectInTheSUT)
| Method Detail |
|---|
public java.lang.String getRole()
TestObjectRole.ROLE_FRAME.
getRole in class ControlProxypublic java.lang.String getDescriptiveName()
getDescriptiveName in class ControlProxypublic void inputKeys(java.lang.String keys)
inputKeys in interface com.rational.test.ft.object.interfaces.ITopWindowkeys - The characters to be processed by this window.public void inputChars(java.lang.String keys)
inputChars in interface com.rational.test.ft.object.interfaces.ITopWindowkeys - The characters to be processed by this window.public 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 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 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.ITopWindowprotected com.rational.test.ft.script.CaptionText getCaption()
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty in class ControlProxypropertyName - The name of the property to fetch.
ProxyTestObject.getProperties(),
ProxyTestObject.setProperty(String,Object),
ProxyTestObject.getRecognitionProperties(),
ProxyTestObject.addRecognitionProperty(String,Object,int)public java.lang.String getTestObjectClassName()
getTestObjectClassName in interface IProxyBasegetTestObjectClassName in class JavaGuiProxypublic java.lang.String getText()
public ProxyTestObject getMenuBar()
null should be returned.
getMenuBar in interface IMenuBarHostpublic java.util.Enumeration getChildrenEnumeration()
getChildrenEnumeration in class ControlProxypublic java.util.Enumeration getImmediateChildren()
getImmediateChildren in class ControlProxypublic java.awt.Rectangle getScreenRectangle()
ControlProxy
getScreenRectangle in interface com.rational.test.ft.object.interfaces.IGraphicalgetScreenRectangle in class ControlProxyIGraphical.isPointInObject(java.awt.Point),
IGraphical.getClippedScreenRectangle()public com.rational.test.ft.script.ScriptCommandFlags getScriptCommandFlags()
JavaGuiProxy
getScriptCommandFlags in class JavaGuiProxypublic void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent in class JavaGuiProxyaction - The event cache and other mouse state information
for this mouse action.MethodSpecificationpublic long getHandle()
ControlProxy
getHandle in class ControlProxypublic ProxyTestObject getEclipsePlatformObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||