com.rational.test.ft.object.interfaces

Interface IToggleGUI

    • 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