IBM Rational Functional Tester
Version 6.1
IBM Rational Functional Tester API Reference

Project Version 2.0

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

All Known Implementing Classes:
TextGuiSubitemTestObject, TextGuiTestObject, TextScrollTestObject, TextSelectGuiSubitemTestObject

public interface IText

Exposes methods that are explicitly associated with a text type control. These methods allow for direct access to the text on the TestObject.

Since:
RFT2.0

Method Summary
 java.lang.String getText()
          Allows direct access to the text property on the control.
 void setText(java.lang.String text)
          Directly modifies the text on the control.
 

Method Detail

getText

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

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

setText

public void setText(java.lang.String text)
Directly modifies the text on the control. Any existing text in the control is replaced with the specified text value. This command attempts to playback this action from the glass when possible.

Parameters:
text - The text to update the control with
Since:
RFT2.0