IBM Rational Functional Tester
Version 8.1.1000
IBM Rational Functional Tester API Reference

Project Version 2.3

com.rational.test.ft.object.interfaces
Interface IToggle

All Known Subinterfaces:
IToggleGUI
All Known Implementing Classes:
SAPGuiToggleTestObject, ToggleGUITestObject, ToggleTestObject, WpfToggleGUITestObject, WpfToggleTestObject

public interface IToggle

Supports objects with binary state characteristics such as check boxes, radio buttons, and toggle buttons. These actions are performed programmatically and do not use the mouse.

Since:
RFT1.0

Method Summary
 void deselect()
          Sets the state of the associated object to notSelected.
 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 selected.
 void setState(State state)
          Sets the state of the associated object to the specified state.
 

Method Detail

setState

void setState(State state)
Sets the state of the associated object to the specified state.

Since:
RFT1.0
See Also:
State

getState

State getState()
Returns the state of the associated object.

Since:
RFT1.0
See Also:
State

select

void select()
Sets the state of the associated object to selected. The UnableToPerformActionException exception is thrown if this action cannot be performed.

Since:
RFT1.0

deselect

void deselect()
Sets the state of the associated object to notSelected. The UnableToPerformActionException exception is thrown if this action cannot be performed.

Since:
RFT1.0

indeterminate

void indeterminate()
Sets the state of the associated object to indeterminate. The UnableToPerformActionException exception is thrown if this action cannot be performed.

Since:
RFT1.0