|
IBM Rational Functional Tester Version 8.1.1000 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.Object com.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.MenuItemProxy com.rational.test.ft.domain.java.swt.MenuProxy
public class MenuProxy
Proxy for SWT Menu objects.
GuiSubitemTestObject
Type | Desciption | Data Class |
---|---|---|
text | Button Visible Text | ITestDataText |
state | Toggle Button State | ITestData |
menu | Menu Hierarchy | ITestDataTree |
extendedMenu | Menu Hierarchy with Properties | ITestDataTree |
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. |
text | The visible text of the menuitem. If there is no visible text this property is omitted. |
name | The name property, suppressed if default formatted (default form = className+count). |
Subitem | Usage |
---|---|
List |
The ordered set of Text and Index
subitems that define a path to a child menu item.
Most commonly appears in scripts as atPath specifications.
|
Text |
Defines the menu with the specified visible text. |
Index |
Defines the menu at the specified zero-based index. |
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.rational.test.ft.domain.java.swt.MenuItemProxy |
---|
MenuItemProxy.ChildEnumerator |
Field Summary | |
---|---|
protected static com.rational.test.ft.sys.graphical.Window |
cachedPopUp
|
protected static int |
MAX_NAME
|
protected static java.lang.String |
NAME
|
Fields inherited from class com.rational.test.ft.domain.java.swt.MenuItemProxy |
---|
CLASSINDEX, CLASSINDEXWEIGHT, TESTDATA_STATE, TESTDATA_TEXT, theCacheMenu |
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.domain.IDataDriven |
---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
Constructor Summary | |
---|---|
MenuProxy(java.lang.Object theObjectInTheSUT)
Sets the SUT object as a member variable for the proxy. |
Method Summary | |
---|---|
void |
click(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
Perform a mouse click action at the specified object relative coordinates within the associated TestObject. |
void |
click(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Perform a mouse click action on the specified coordinates relative to the associated TestObject. |
void |
click(com.rational.test.ft.script.Subitem subitem)
Left mouse click on the center point of the associated subitem. |
void |
click(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Left mouse click on the specified coordinates relative to the associated TestObject. |
void |
doubleClick(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
Perform a mouse dbl-click action at the specified object relative coordinates within the associated TestObject. |
void |
doubleClick(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Perform a mouse dbl-click action on the specified coordinates relative to the associated TestObject. |
void |
doubleClick(com.rational.test.ft.script.Subitem subitem)
Left mouse dbl-click on the center point of the associated TestObject. |
void |
doubleClick(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Left mouse dbl-click on the specified coordinates relative to the associated TestObject. |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
Perform a drag action against the associated TestObject with the supplied set of mouse modifiers. |
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)
Perform a drag action against the associated TestObject. |
void |
drag(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem1, com.rational.test.ft.script.Subitem subitem2)
Perform a drag action against the associated TestObject. |
void |
drag(com.rational.test.ft.script.Subitem subitem)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
void |
drag(com.rational.test.ft.script.Subitem subitem1, java.awt.Point pt1, com.rational.test.ft.script.Subitem subitem2, java.awt.Point pt2)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
void |
drag(com.rational.test.ft.script.Subitem subitem1, com.rational.test.ft.script.Subitem subitem2)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
Perform a drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt, java.awt.Point screenPt)
Perform a drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
void |
dragToScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt, java.awt.Point screenPt)
Perform a MOUSE_LEFT drag action against the associated TestObject. |
IChannel |
getChannel()
return a channel for the object. |
java.lang.Object |
getChildAtPoint(java.awt.Point pt)
Finds the child object that is at the specified point. |
protected ProxyTestObject |
getChildProxy(java.lang.Object childObject)
|
java.util.Enumeration |
getChildrenEnumeration()
Returns an enumeration of proxies for the children of this object. |
java.awt.Rectangle |
getClippedScreenRectangle()
Returns the clipped-screen rectangle for the associated TestObject |
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
java.util.Enumeration |
getImmediateChildren()
Returns an enumeration of proxies for the immediate children of this object. |
java.lang.String |
getLabel()
get the label on the menu item |
ProxyTestObject |
getMappableParent()
Returns a proxy object for the parent of this object. |
protected ProxyTestObject[] |
getMenuChildrenArray()
This protected method is needed to access true menu child proxies. |
protected MenuItem |
getMenuItem(org.eclipse.swt.widgets.Menu theMenu, com.rational.test.ft.script.Subitem item)
|
protected MenuItem |
getMenuItem(com.rational.test.ft.script.Subitem subitem)
|
protected MenuItemProxy |
getMenuItemProxy(com.rational.test.ft.script.Subitem item)
|
java.awt.Rectangle |
getMenuScreenRectangle(java.lang.Object target)
|
java.lang.String |
getName()
get the name of the object |
java.lang.Object |
getObject()
Export access to the object under evaluation in the SUT. |
ProxyTestObject[] |
getOwnedObjects()
Returns an array of proxies for the objects owned by this object. |
ProxyTestObject |
getOwner()
Returns a proxy object for the owner of this object. |
ProxyTestObject |
getParent()
Returns a proxy object for the parent of this object. |
ProxyTestObject |
getParentItemProxy()
|
java.lang.Object |
getParentObject()
Returns an object for the parent of this object. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Gets the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_SWT . |
java.awt.Point |
getScreenPoint(com.rational.test.ft.script.Subitem subitem)
Returns the screen relative point to the center of the supplied subitem. |
java.awt.Point |
getScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Returns the screen relative point given a subitem and a subitem relative point. |
java.awt.Rectangle |
getScreenRectangle()
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)
Returns the rectangle that contains the component being evaluated relative to the top left corner of the screen. |
ProxyTestObject |
getShell()
|
java.lang.Object |
getSubitem(com.rational.test.ft.script.Subitem subitem)
Returns an object that represents the specified subitem in the associated test object. |
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()
Return the GuiSubitemTestObject classname. |
ProxyTestObject |
getTopParent()
Returns a proxy object for the top parent of this object. |
java.lang.String |
getUniqueId()
Return a unique string for the associated object. |
java.awt.Rectangle |
getVisualClippedRectangle()
The optimized way to obtain the ClippedRectangle. |
boolean |
hasFocus()
Always returns false because there is not a direct way to determine who has the focus in the AWT world. |
void |
hover(double secondDelay, com.rational.test.ft.script.Subitem subitem)
Hover the mouse over the center of the specified subitem. |
void |
hover(double secondDelay, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Hover the mouse over the specified coordinates relative to the specified subitem. |
void |
hover(com.rational.test.ft.script.Subitem subitem)
Hover the mouse over the center of the specified subitem. |
void |
hover(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Hover the mouse over the specified coordinates relative to the specified subitem. |
boolean |
isEnabled()
Checks the component under evaluation to determine if it is enabled or disabled. |
boolean |
isOpaque()
Checks the component under evaluation to determine if it is opaque or transparent. |
boolean |
isPointInObject(java.awt.Point pt)
Determines if the specified screen relative point is contained in the component under evaluation. |
boolean |
isShowing()
Checks the component under evaluation to determine if it is showing (as opposed to hidden). |
void |
mouseMove(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem)
Perform a move action against the associated TestObject. |
void |
mouseMove(com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Perform a move action against the associated TestObject. |
void |
mouseMove(com.rational.test.ft.script.Subitem subitem)
Perform a MOUSE_LEFT move action against the associated TestObject. |
void |
mouseMove(com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt)
Perform a MOUSE_LEFT move action against the associated TestObject. |
void |
nClick(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Perform a mouse n-click action on the specified coordinates relative to the associated TestObject. |
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)
Perform a mouse n-click drag action on the specified coordinates relative to the associated TestObject. |
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)
Perform a mouse n-click drag action on the specified coordinates relative to the associated TestObject. |
void |
nClickDragToScreenPoint(int clickCount, com.rational.test.ft.script.MouseModifiers modifiers, com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
Perform a mouse n-click drag action on the specified coordinates relative the screen relative screenPt coordinates. |
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)
Perform a mouse n-click drag action on the specified coordinates relative the screen relative screenPt coordinates. |
void |
processMouseEvent(IMouseActionInfo action, com.rational.test.ft.sys.graphical.Window popupWindow)
Process a menu action against the specified menu popup window. |
void |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
void |
setParent(ProxyTestObject parent)
For efficiency allow the parent proxy to be explicitly set. |
void |
setPopUpWindow(com.rational.test.ft.sys.graphical.Window popUp)
|
boolean |
shouldBeMapped()
Returns true; by default all test objects are mapped. |
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. |
Methods inherited from class com.rational.test.ft.domain.java.swt.MenuItemProxy |
---|
getIndex, getMenuProxy, getPath, getState, getStyle, getSubitem, isCheckBox, isRadioButton, isSeparator, isSubitem, setCachedMenuBar |
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, getClippedRect, getMethodSpecForPoint, getProcessMouseEventHandler, getRegisteredTopLevelWindow, getScreenPoint, getScreenPoint, getScriptCommandFlags, getTopMappableWindow, getTopWindow, hover, hover, hover, hover, isDrag, isPointInObject, modifiersChanged, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, processHoverMouseEvent, processMouseEvent, scrollRectToVisible, setProcessMouseEventHandler, setTopLevelWindow |
Methods inherited from class com.rational.test.ft.domain.java.JavaProxy |
---|
addMappableChildrenToVector, addRecognitionProperty, allowProperty, childConstructed, getAddedRecognitionPropertyValue, getChildren, getIndexer, getIndexers, getMappableChildren, getMethods, getNonValueProperties, getProperties, getRecognitionProperties, getRecognitionPropertyWeight, getStandardProperties, getTestDomain, getTopMappableParent, getVisualClippableParent, hasAddedRecognitionProperties, isRecognitionProperty, setIndexer, setProperty |
Methods inherited from class com.rational.test.ft.sys.RegisteredObject |
---|
addProxyReference, dereference, 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 |
Field Detail |
---|
protected static final int MAX_NAME
protected static final java.lang.String NAME
protected static com.rational.test.ft.sys.graphical.Window cachedPopUp
Constructor Detail |
---|
public MenuProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public void setPopUpWindow(com.rational.test.ft.sys.graphical.Window popUp)
public java.lang.String getTestObjectClassName()
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class JavaGuiProxy
public java.lang.String getDescriptiveName()
getDescriptiveName
in class MenuItemProxy
public java.lang.String getName()
public boolean shouldBeMapped()
JavaGuiProxy
shouldBeMapped
in class JavaGuiProxy
public void setParent(ProxyTestObject parent)
setParent
in interface ISetParent
parent
- The parent proxy.public java.lang.String getUniqueId()
getUniqueId
in class JavaProxy
public java.lang.String getRole()
TestObjectRole.ROLE_SWT
.
getRole
in class MenuItemProxy
public java.lang.String getLabel()
getLabel
in class MenuItemProxy
public boolean isShowing()
isShowing
in interface com.rational.test.ft.object.interfaces.IGraphical
isShowing
in class MenuItemProxy
public boolean isEnabled()
isEnabled
in interface com.rational.test.ft.object.interfaces.IGraphical
isEnabled
in class MenuItemProxy
public boolean isOpaque()
isOpaque
in interface com.rational.test.ft.object.interfaces.IGraphical
isOpaque
in class MenuItemProxy
public boolean hasFocus()
hasFocus
in interface com.rational.test.ft.object.interfaces.IGraphical
hasFocus
in class MenuItemProxy
public java.lang.Object getObject()
getObject
in class com.rational.test.ft.sys.RegisteredObject
public ProxyTestObject getMappableParent()
getMappableParent
in class MenuItemProxy
public ProxyTestObject getParent()
getParent
in class MenuItemProxy
public ProxyTestObject getParentItemProxy()
public java.lang.Object getParentObject()
getParentObject
in class MenuItemProxy
public ProxyTestObject getTopParent()
getTopParent
in class JavaProxy
public java.util.Enumeration getChildrenEnumeration()
getChildrenEnumeration
in class MenuItemProxy
public java.util.Enumeration getImmediateChildren()
getImmediateChildren
in class MenuItemProxy
public ProxyTestObject getOwner()
getOwner
in class MenuItemProxy
public ProxyTestObject[] getOwnedObjects()
getOwnedObjects
in class MenuItemProxy
public boolean isPointInObject(java.awt.Point pt)
This functionality is performed by the proxy due to potentially
unusual aspects associated with functionality. While typically the getScreenRectangle
would be used to resolve this query, there are situations for which this
is not accurate. For instance if the clickable region on a
button were not rectangular just checking if the point is in
the rectangle would not be valid.
isPointInObject
in interface com.rational.test.ft.object.interfaces.IGraphical
isPointInObject
in class JavaGuiProxy
pt
- Screen relative point to check.
getScreenRectangle()
public java.lang.Object getChildAtPoint(java.awt.Point pt)
If this object has no children, it should return null
.
getChildAtPoint
in interface com.rational.test.ft.object.interfaces.IGraphical
getChildAtPoint
in class MenuItemProxy
pt
- Screen relative point to check.
getScreenRectangle()
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in class MenuItemProxy
propertyName
- The name of the property to fetch.
ProxyTestObject.getProperties()
,
ProxyTestObject.setProperty(String,Object)
,
ProxyTestObject.getRecognitionProperties()
,
ProxyTestObject.addRecognitionProperty(String,Object,int)
protected ProxyTestObject[] getMenuChildrenArray()
protected ProxyTestObject getChildProxy(java.lang.Object childObject)
public IChannel getChannel()
getChannel
in interface IChannelObject
getChannel
in class MenuItemProxy
public void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent
in class MenuItemProxy
action
- The event cache and other mouse state information
for this mouse action.MethodSpecification
public void processMouseEvent(IMouseActionInfo action, com.rational.test.ft.sys.graphical.Window popupWindow)
IMenuManager
processMouseEvent
in interface IMenuManager
public java.awt.Rectangle getScreenRectangle()
getScreenRectangle
in interface com.rational.test.ft.object.interfaces.IGraphical
getScreenRectangle
in class MenuItemProxy
IGraphical.isPointInObject(java.awt.Point)
,
IGraphical.getClippedScreenRectangle()
public java.awt.Rectangle getClippedScreenRectangle()
com.rational.test.ft.object.interfaces.IGraphical
TestObject
getClippedScreenRectangle
in interface com.rational.test.ft.object.interfaces.IGraphical
getClippedScreenRectangle
in class MenuItemProxy
null
if the object cannot be seen
in any window on the screen.IGraphical.getScreenRectangle()
public java.awt.Rectangle getVisualClippedRectangle()
getVisualClippedRectangle
in class MenuItemProxy
public java.awt.Rectangle getScreenRectangle(com.rational.test.ft.script.Subitem subitem)
getScreenRectangle
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public ProxyTestObject getShell()
public java.awt.Rectangle getMenuScreenRectangle(java.lang.Object target)
public java.awt.Point getScreenPoint(com.rational.test.ft.script.Subitem subitem)
getScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
subitem
- The subitem the resultant screen point is
relative to.
protected MenuItemProxy getMenuItemProxy(com.rational.test.ft.script.Subitem item)
protected MenuItem getMenuItem(org.eclipse.swt.widgets.Menu theMenu, com.rational.test.ft.script.Subitem item)
protected MenuItem getMenuItem(com.rational.test.ft.script.Subitem subitem)
public java.awt.Point getScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
getScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
subitem
- The subitem the resultant screen point is
relative to.pt
- The subitem relative point.
public 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.IGraphicalSubitem
subitem
- The subitem to fetch an object for.
public void click(com.rational.test.ft.script.Subitem subitem)
click
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public 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.IGraphicalSubitem
public void click(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
click
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public 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.IGraphicalSubitem
public void doubleClick(com.rational.test.ft.script.Subitem subitem)
doubleClick
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public 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.IGraphicalSubitem
public void doubleClick(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
doubleClick
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public void drag(com.rational.test.ft.script.Subitem subitem)
drag
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public void dragToScreenPoint(com.rational.test.ft.script.Subitem subitem, java.awt.Point screenPt)
dragToScreenPoint
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public void mouseMove(com.rational.test.ft.script.Subitem subitem)
mouseMove
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void mouseMove(com.rational.test.ft.script.Subitem subitem, java.awt.Point subitemPt)
mouseMove
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public 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.IGraphicalSubitem
public 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.IGraphicalSubitem
public void hover(double secondDelay, com.rational.test.ft.script.Subitem subitem)
hover
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void hover(double secondDelay, com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
hover
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void hover(com.rational.test.ft.script.Subitem subitem)
hover
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public void hover(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
hover
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
public java.util.Hashtable getTestDataTypes()
getTestDataTypes
in class MenuItemProxy
getTestData(String)
,
ITestData
public com.rational.test.ft.vp.ITestData getTestData(java.lang.String testDataType)
getTestDataTypes
.
getTestData
in class MenuItemProxy
testDataType
- A test data type supplied by
getTestDataTypes
.
getTestDataTypes()
,
ITestData
public 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 ProxyTestObject
testDataType
- A test data type supplied by
getTestDataTypes
.testData
- The test data base object that requires
updating.
getTestDataTypes()
,
ITestData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |