|
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.Objectcom.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.ToggleTestObject
public class ToggleTestObject
Serves as the base TestObject implementation of the IToggle interface.
ToggleGUITestObject}| Field Summary |
|---|
| Fields inherited from class com.rational.test.ft.object.interfaces.TestObject |
|---|
ref |
| Constructor Summary | |
|---|---|
ToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
For internal use. |
|
ToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
For internal use. |
|
ToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
For internal use. |
|
ToggleTestObject(TestObject obj)
Constructs one ToggleTestObject from another TestObject. |
|
ToggleTestObject(com.rational.test.ft.object.TestObjectReference ref)
For internal use. |
|
| Method Summary | |
|---|---|
void |
deselect()
To de-select the associated object |
State |
getState()
Returns the state of the associated object. |
void |
indeterminate()
To change the state of the associated object to INDETERMINATE. |
void |
select()
To select the associated object |
void |
setState(State state)
Sets the state of the associated object. |
| 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 |
| Constructor Detail |
|---|
public ToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject)
public ToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor)
public ToggleTestObject(com.rational.test.ft.object.map.SpyMappedTestObject mappedObject,
TestObject anchor,
long scriptCommandFlags)
public ToggleTestObject(com.rational.test.ft.object.TestObjectReference ref)
public ToggleTestObject(TestObject obj)
ToggleTestObject from another TestObject. Both are references to the same object.
| Method Detail |
|---|
public void setState(State state)
setState in interface ITogglestate - one of the State valuescheckbox().setState(State.selected());Statepublic State getState()
getState in interface IToggleState stat = checkbox().getState();Statepublic void select()
select in interface IToggleSTATE_SELECTED. The UnableToPerformActionException exception is thrown if
this action cannot be performed.checkbox.select();public void deselect()
deselect in interface IToggleNOT_SELECTED. The UnableToPerformActionException exception is thrown if
this action cannot be performed.checkbox.deselect();public void indeterminate()
indeterminate in interface IToggleINDETERMINATE. The UnableToPerformActionException exception is thrown if
this action cannot be performed. Most of the objects throw exceptions if the state is changed
to INDETERMINATE. Use the method within the try - catch to handle exceptionstry{
checkbox.indeterminate();
}catch(Exception e}
{}
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||