|
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.awt.ComponentProxy com.rational.test.ft.domain.java.awt.ListProxy
public class ListProxy
Proxy for te java.awt.List
class.
GuiSubitemTestObject
Type | Desciption | Data Class |
---|---|---|
list | List Elements | ITestDataList |
selected | Selected List Elements | ITestDataList |
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. |
.itemText | The text for the up to ten items from the list. |
.priorLabel | The text of a preceding label. Suppressed if there is no preceding label. |
itemCount | The number of items in the list. |
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.domain.IDataDriven |
---|
INCLUDE_ALL, INCLUDE_JUSTOBJECT, INCLUDE_SIBLINGS |
Constructor Summary | |
---|---|
ListProxy(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 |
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 |
deselect(int item)
This method deselects a subitem at a specified index. |
protected void |
deselectAll()
|
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. |
protected void |
ensureIndexIsVisible(int index)
|
void |
extendSelect(int item)
This method extends the current selection to include a subitem at a specified index. |
protected java.awt.Rectangle |
getCellBounds(int index)
Returns the bounds of the item in List coordinates. |
com.rational.test.ft.sys.MethodSpecification |
getDataDrivableCommand()
This method must be implemented by any proxy that wishes to support data driving. |
java.lang.String |
getDescriptiveName()
Returns a name that can be used to describe the associated UI object in a script. |
protected int |
getFirstVisibleIndex()
Returns the index of the cell in the upper left corner of the JList or -1 if nothing is visible or the list is empty. |
protected java.lang.String |
getItem(int index)
|
protected int |
getItemCount()
This method returns the number of items available in the associated List control. |
protected int |
getItemIndex(java.lang.String item)
|
protected int |
getItemIndex(com.rational.test.ft.script.Subitem item)
|
protected java.lang.String[] |
getItems(int limit)
|
protected int |
getLastVisibleIndex()
Returns the index of the cell in the lower left corner of the JList or -1 if nothing is visible or the list is empty. |
java.lang.Object |
getProperty(java.lang.String propertyName)
Get the value for a specific property. |
java.lang.String |
getRole()
Returns TestObjectRole.ROLE_LIST . |
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(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. |
java.lang.String |
getSelectedText()
|
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 ListTestObject classname, the default list test object. |
java.lang.String |
getText()
|
protected boolean |
hasItem(java.lang.String item)
|
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)
Hovers the mouse over the specified specified subitem. |
void |
hover(com.rational.test.ft.script.Subitem subitem, java.awt.Point pt)
Hovers the mouse over the specified coordinates relative to the specified subitem. |
void |
hScrollTo(int position)
This action moves a horizontal scrollbar to a specified position. |
protected int |
locationToIndex(java.awt.Point pt)
|
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)
Performs 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 |
processSingleMouseEvent(IMouseActionInfo action)
Return a MethodSpecification for the specified mouse event. |
void |
scrollLineDown()
This action moves a vertical scrollbar one line (also called a unit) down in position. |
void |
scrollLineLeft()
This action moves a horizontal scrollbar one line (also called a unit) left in position. |
void |
scrollLineRight()
This action moves a horizontal scrollbar one line (also called a unit) right in position. |
void |
scrollLineUp()
This action moves a vertical scrollbar one line (also called a unit) up in position. |
void |
scrollPageDown()
This action moves a vertical scrollbar one page (also called a block) down in position. |
void |
scrollPageLeft()
This action moves a horizontal scrollbar one page (also called a block) left in position. |
void |
scrollPageRight()
This action moves a horizontal scrollbar one page (also called a block) right in position. |
void |
scrollPageUp()
This action moves a vertical scrollbar one page (also called a block) up in position. |
void |
select(int item)
This method selects a subitem at a specified index. |
void |
select(java.lang.String item)
|
void |
setState(com.rational.test.ft.script.Action action)
This method performs a specific action. |
protected void |
setState(com.rational.test.ft.script.Action action, int item)
This method performs a specific action against the subitem at a specified index. |
void |
setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem item)
This method performs a specific action against the subitem at a specified index. |
void |
setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem start, com.rational.test.ft.script.Subitem end)
This method performs a specific action against the subitem range defined by the specified indices. |
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. |
void |
vScrollTo(int position)
This action moves a vertical scrollbar to a specified position. |
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, getMappableParent, getName, getOwnedObjects, getOwner, getParent, 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, 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 |
Constructor Detail |
---|
public ListProxy(java.lang.Object theObjectInTheSUT)
Method Detail |
---|
public java.lang.String getTestObjectClassName()
getTestObjectClassName
in interface IProxyBase
getTestObjectClassName
in class JavaGuiProxy
public java.lang.String getDescriptiveName()
getDescriptiveName
in class ComponentProxy
public java.lang.String getRole()
TestObjectRole.ROLE_LIST
.
getRole
in class ComponentProxy
public java.lang.Object getProperty(java.lang.String propertyName)
getProperty
in class ComponentProxy
propertyName
- The name of the property to fetch.
ProxyTestObject.getProperties()
,
ProxyTestObject.setProperty(String,Object)
,
ProxyTestObject.getRecognitionProperties()
,
ProxyTestObject.addRecognitionProperty(String,Object,int)
protected void ensureIndexIsVisible(int index)
public java.awt.Rectangle getScreenRectangle(com.rational.test.ft.script.Subitem subitem)
getScreenRectangle
in interface com.rational.test.ft.object.interfaces.IGraphicalSubitem
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.
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.
Note that if the resulting type is not a value class that a test object for the
object will be supplied. For instance MyMenuBar().getSubitem(atPath("File->New"))
would return the TestObject
for the New menu item (with all the associated methods available). A simpler example may be that myList().getSubitem(atIndex(4))
will commonly just return the text for the item in the 5th position (as a string).
WARNING: if the result of this call is a TestObject
then the user is required to explicitly unregister
the resulting test object. Failure to do so will cause objects to be pinned in the memory of the system under test.
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)
com.rational.test.ft.object.interfaces.IGraphicalSubitem
TestObject
.
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 JavaProxy
getTestData(String)
,
ITestData
public com.rational.test.ft.vp.ITestData getTestData(java.lang.String testDataType)
getTestDataTypes
.
getTestData
in class ProxyTestObject
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
protected int locationToIndex(java.awt.Point pt)
protected int getFirstVisibleIndex()
protected int getLastVisibleIndex()
protected java.awt.Rectangle getCellBounds(int index)
public com.rational.test.ft.sys.MethodSpecification getDataDrivableCommand()
null
value is returned.
getDataDrivableCommand
in interface IDataDriven
getDataDrivableCommand
in class ProxyTestObject
ProxyTestObject.getDataDrivableCommands(int)
public void processSingleMouseEvent(IMouseActionInfo action)
processSingleMouseEvent
in class JavaGuiProxy
action
- The event cache and other mouse state information
for this mouse action.MethodSpecification
protected java.lang.String getItem(int index)
protected java.lang.String[] getItems(int limit)
protected int getItemCount()
protected int getItemIndex(java.lang.String item)
protected int getItemIndex(com.rational.test.ft.script.Subitem item)
protected boolean hasItem(java.lang.String item)
public java.lang.String getSelectedText()
public java.lang.String getText()
protected void deselectAll()
public void select(java.lang.String item)
public void select(int item)
item
- The index of the item to select.public void deselect(int item)
item
- The index of the item to deselect.public void extendSelect(int item)
item
- The index of the item to select.protected void setState(com.rational.test.ft.script.Action action, int item)
item
- The index of the item to act upon.action
- The action that should be performed.public void setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem item)
setState
in interface com.rational.test.ft.object.interfaces.ISubitem
item
- The item to act upon.action
- The action that should be performed.public void setState(com.rational.test.ft.script.Action action)
setState
in interface com.rational.test.ft.object.interfaces.ISubitem
action
- The action that should be performed.public void setState(com.rational.test.ft.script.Action action, com.rational.test.ft.script.Subitem start, com.rational.test.ft.script.Subitem end)
setState
in interface com.rational.test.ft.object.interfaces.ISubitem
start
- The first item to act upon.end
- The last item to act upon.action
- The action that should be performed.public void hScrollTo(int position)
hScrollTo
in interface com.rational.test.ft.object.interfaces.IScrollable
position
- The poition of the horizontal scrollbar after this action is completed.vScrollTo(int)
public void vScrollTo(int position)
vScrollTo
in interface com.rational.test.ft.object.interfaces.IScrollable
position
- The poition of the vertical scrollbar after this action is completed.hScrollTo(int)
public void scrollPageUp()
scrollPageUp
in interface com.rational.test.ft.object.interfaces.IScrollable
public void scrollPageDown()
scrollPageDown
in interface com.rational.test.ft.object.interfaces.IScrollable
public void scrollPageLeft()
scrollPageLeft
in interface com.rational.test.ft.object.interfaces.IScrollable
public void scrollPageRight()
scrollPageRight
in interface com.rational.test.ft.object.interfaces.IScrollable
public void scrollLineUp()
scrollLineUp
in interface com.rational.test.ft.object.interfaces.IScrollable
public void scrollLineDown()
scrollLineDown
in interface com.rational.test.ft.object.interfaces.IScrollable
public void scrollLineLeft()
scrollLineLeft
in interface com.rational.test.ft.object.interfaces.IScrollable
public void scrollLineRight()
scrollLineRight
in interface com.rational.test.ft.object.interfaces.IScrollable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |