public class WpfToggleTestObject extends WpfGuiTestObject implements IToggle
TestObject implementation of the IToggle interface.ignoreTheObjectState, ref| Constructor and Description |
|---|
WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use.
|
WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use.
|
WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use.
|
WpfToggleTestObject(TestObject obj)
Constructs one
WpfToggleTestObject from another TestObject. |
WpfToggleTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deselect()
Sets the state of the associated object to
NOT_SELECTED. |
State |
getState()
Returns the state of the associated object.
|
void |
indeterminate()
Sets the state of the associated object to
INDETERMINATE. |
void |
select()
Sets the state of the associated object to
STATE_SELECTED. |
void |
setState(State state)
Sets the state of the associated object to the specified state.
|
click, click, doubleClick, doubleClick, drag, drag, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getScreenPoint, hover, hover, isPointInObject, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPoint, nClickDragToScreenPointGetChildrenAtPoint, GetLogicalChildren, GetLogicalParent, GetVisualChildren, GetVisualParentcanTakeVP, 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, dragToScreenPoint, dragToScreenPoint, dragToScreenPoint, getChildAtPoint, getClippedScreenRectangle, getScreenPoint, getScreenPoint, getScreenRectangle, hasFocus, hover, hover, hover, hover, isEnabled, isOpaque, isPointInObject, isShowing, mouseMove, mouseMove, nClick, nClickDrag, nClickDragToScreenPointpublic WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
public WpfToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
public WpfToggleTestObject(com.rational.test.ft.object.TestObjectReference ref)
public WpfToggleTestObject(TestObject obj)
WpfToggleTestObject from another TestObject. Both are references to the same object.public void setState(State state)
public State getState()
public void select()
STATE_SELECTED.select in interface IToggleUnableToPerformActionException exception is thrown if
this action cannot be performed.com.rational.test.ft.script.State},
com.rational.test.ft.script.State#isSelected()},
com.rational.test.ft.script.State#getState()}public void deselect()
NOT_SELECTED.deselect in interface IToggleUnableToPerformActionException exception is thrown if
this action cannot be performed.com.rational.test.ft.script.State},
com.rational.test.ft.script.State#isSelected()},
com.rational.test.ft.script.State#getState()}public void indeterminate()
INDETERMINATE.indeterminate in interface IToggleUnableToPerformActionException exception is thrown if
this action cannot be performed.com.rational.test.ft.script.State},
com.rational.test.ft.script.State#isSelected()},
com.rational.test.ft.script.State#getState()}