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 IToggleGUI

All Superinterfaces:
IToggle
All Known Implementing Classes:
SAPGuiToggleTestObject, ToggleGUITestObject, WpfToggleGUITestObject

public interface IToggleGUI
extends IToggle

Extends the definition of the IToggle interface to include actions that directly use the mouse.

Since:
RFT6.1.1.1
See Also:
IToggle}

Method Summary
 void clickToState(MouseModifiers modifiers, State state)
          Performs the necessary mouse actions to attain the desired state for the associated component.
 void clickToState(State state)
          Performs the necessary mouse actions to attain the desired state for the associated component.
 void dragToState(MouseModifiers modifiers, State state)
          Performs the necessary mouse actions to attain the desired state for the associated component.
 void dragToState(State state)
          Performs the necessary mouse actions to attain the desired state for the associated component.
 
Methods inherited from interface com.rational.test.ft.object.interfaces.IToggle
deselect, getState, indeterminate, select, setState
 

Method Detail

clickToState

void clickToState(State state)
Performs the necessary mouse actions to attain the desired state for the associated component. If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events for resetting the state appropriately.

Parameters:
state - the desired target state for the associated component
Example:
To click to state as selected of check box in the Classics Java Application

newCustomer.clickToState(SELECTED)

Since:
RFT6.1.1.1

clickToState

void clickToState(MouseModifiers modifiers,                   State state)
Performs the necessary mouse actions to attain the desired state for the associated component. If the state of the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events for resetting the state appropriately.

Parameters:
modifiers - the mouse modifiers used to attain the desired state
state - the desired target state for the associated component
Example:
To click to state as selected of check box on left click in the Classics Java Application

newCustomer.clickToState(LEFT,SELECTED)

Since:
RFT6.1.1.1

dragToState

void dragToState(State state)
Performs the necessary mouse actions to attain the desired state for the associated component. If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events for resetting the state appropriately.

Parameters:
state - the desired target state for the associated component
Example:
To click to state as selected of check box in the Classics Java Application

newCustomer.dragToState(SELECTED)

Since:
RFT6.1.1.1

dragToState

void dragToState(MouseModifiers modifiers,                  State state)
Performs the necessary mouse actions to attain the desired state for the associated component. If the component is already in the desired state, multiple actions may be performed to trigger underlying programmatic events for resetting the state appropriately.

Parameters:
modifiers - the mouse modifiers used to attain the desired state
state - the desired target state for the associated component
Example:
To click to state as selected of check box on left click in the Classics Java Application

newCustomer.dragToState(LEFT,SELECTED)

Since:
RFT6.1.1.1