|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API 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.object.interfaces.TestObject com.rational.test.ft.object.interfaces.ClientTestObject com.rational.test.ft.object.interfaces.GuiTestObject com.rational.test.ft.object.interfaces.StatelessGuiSubitemTestObject com.rational.test.ft.object.interfaces.GuiSubitemTestObject com.rational.test.ft.object.interfaces.TextSelectGuiSubitemTestObject
public class TextSelectGuiSubitemTestObject
Extends commmand to access text on a selectable TestObject.
Field Summary |
---|
Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
---|
ref |
Constructor Summary | |
---|---|
TextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use. |
|
TextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
For internal use. |
|
TextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
For internal use. |
|
TextSelectGuiSubitemTestObject(TestObject obj)
Constructs one GuiSubitemTestObject from another TestObject . |
|
TextSelectGuiSubitemTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use. |
Method Summary | |
---|---|
java.lang.String |
getSelectedText()
Allows direct access to the selected text property on the control. |
java.lang.String |
getText()
Allows direct access to the text property on the control. |
void |
select(int index)
Directly modifies subitem selected in the control. |
void |
select(java.lang.String item)
Directly modifies subitem selected in the control. |
void |
setText(java.lang.String text)
Directly modifies the text on the control. |
Methods inherited from class com.rational.test.ft.object.interfaces.GuiSubitemTestObject |
---|
describe, setState, setState, setState |
Methods inherited from class com.rational.test.ft.object.interfaces.StatelessGuiSubitemTestObject |
---|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getScreenPoint, getScreenPoint, getScreenRectangle, getSubitem, hover, hover, hover, hover, mouseMove, mouseMove, mouseMove, mouseMove, nClick, nClickDrag, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint |
Methods inherited from class com.rational.test.ft.object.interfaces.GuiTestObject |
---|
canTakeVP, click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint |
Methods inherited from class com.rational.test.ft.object.interfaces.ClientTestObject |
---|
exists, find, find, findAndInvoke, findAndInvokeProxy, invoke, invokeProxy, unregister, waitForExistence |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.rational.test.ft.object.interfaces.IGraphicalSubitem |
---|
click, click, click, click, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getScreenPoint, getScreenPoint, getScreenRectangle, getSubitem, hover, hover, hover, hover, mouseMove, mouseMove, mouseMove, mouseMove, nClick, nClickDrag, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPoint |
Constructor Detail |
---|
public TextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public TextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor)
public TextSelectGuiSubitemTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject, TestObject anchor, long scriptCommandFlags)
public TextSelectGuiSubitemTestObject(com.rational.test.ft.object.TestObjectReference ref)
public TextSelectGuiSubitemTestObject(TestObject obj)
GuiSubitemTestObject
from another TestObject
.
Both are references to the same object.
Method Detail |
---|
public java.lang.String getSelectedText()
ISelect
getSelectedText
in interface ISelect
public java.lang.String getText()
ISelect
getText
in interface ISelect
getText
in interface IText
public void select(java.lang.String item)
ISelect
SubitemNotFoundException
is thrown.
select
in interface ISelect
item
- the item to update the control withISelect.select(int)
public void select(int index)
ISelect
SubitemNotFoundException
is thrown.
select
in interface ISelect
index
- the index of the item to update the control withISelect.select(String)
public void setText(java.lang.String text)
IText
setText
in interface IText
text
- The text to update the property text of the component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |