IBM Rational Functional Tester
Version 8.2.1
IBM Rational Functional Tester API Reference

Project Version 2.3

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

All Known Implementing Classes:
DojoComboboxTestObject, SelectGuiSubitemTestObject, SelectScrollGuiSubitemTestObject, TextSelectGuiSubitemTestObject, WpfSelectGuiSubitemTestObject, WpfTextSelectGuiSubitemTestObject

public interface ISelect

Provides meta-actions for selectable subitems in a control.

Since:
RFT2.0

Method Summary
 java.lang.String getSelectedText()
          Allows direct access to the selected text property on the control.
 java.lang.String getText()
          Allows direct access to the text property on the control.
 void select(int index)
          Directly modifies subitem selected in the control.
 void select(java.lang.String item)
          Directly modifies subitem selected in the control.
 

Method Detail

getSelectedText

java.lang.String getSelectedText()
Allows direct access to the selected text property on the control.

Returns:
The selected text in the control
Since:
RFT2.0

getText

java.lang.String getText()
Allows direct access to the text property on the control.

Returns:
The text of all elements in the control
Since:
RFT2.0

select

void select(java.lang.String item)
Directly modifies subitem selected in the control. If the specified text is not in the controls list of elements, a SubitemNotFoundException is thrown.

Parameters:
item - the item to update the control with
Since:
RFT2.0
See Also:
select(int)

select

void select(int index)
Directly modifies subitem selected in the control. If the specified index is not valid for the active list of elements in the control, a SubitemNotFoundException is thrown.

Parameters:
index - the index of the item to update the control with
Since:
RFT2.0
See Also:
select(String)