public class TextSelectGuiSubitemTestObject extends GuiSubitemTestObject implements IText, ISelect
ignoreTheObjectState, ref| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
describe, setState, setState, setStateclick, 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, nClickDragToScreenPointcanTakeVP, click, click, click, click, clickRadio, doubleClick, doubleClick, doubleClick, doubleClick, drag, drag, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, ensureObjectIsVisible, getChildAtPoint, getClippedScreenRectangle, getImage, getImage, getIWindow, getRole, getScreenPoint, getScreenPoint, getScreenRectangle, getScreenSnapshot, getVisibleArea, hasFocus, hover, hover, hover, hover, invokeProxyWithGuiDelay, invokeProxyWithGuiDelay, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, switchToexists, exists, exists, find, find, findAndInvoke, findAndInvokeProxy, getProperty, getTestDataTypes, invoke, invokeProxy, unregister, waitForExistencecompare, compare, compareAndLog, compareAndLog, equals, find, findAndInvoke, getActualData, getChildren, getDescribedObject, getDescribedObjects, getDescriptiveName, getDomain, getField, getIndexer, getIndexer, getIndexers, getMappableChildren, getMappableParent, getMapProperties, getMethods, getNameInScript, getNonValueProperties, getObjectClassName, getObjectCustomClassName, getObjectReference, getOwnedObjects, getOwner, getParent, getProcess, getProperties, getPropertyFromMap, getRecognitionProperties, getRecognitionPropertyWeight, getScriptCommandFlags, getStandardProperties, getTestData, getTopMappableParent, getTopParent, hashCode, invoke, invoke, invoke, invokeProxy, invokeProxy, isHtmlWebui, isLoggedDuringUnregister, isMappedObject, isSameObject, isScreenTestObject, isTopLevelTestObject, performTest, performTest, performTest, performTest, setIndexer, setIndexer, setLoggedDuringUnregister, setMapProperties, setProperty, toString, updateTestData, waitForExistenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitclick, 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, nClickDragToScreenPointpublic 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. public java.lang.String getSelectedText()
ISelectgetSelectedText in interface ISelectpublic java.lang.String getText()
ITextpublic void select(java.lang.String item)
ISelectSubitemNotFoundException
is thrown.select in interface ISelectitem - the item to update the control withISelect.select(int)public void select(int index)
ISelectSubitemNotFoundException
is thrown.select in interface ISelectindex - the index of the item to update the control withISelect.select(String)