Script playback from RFT fails to input text into the textbox

Technote (troubleshooting)


Attempt to playback the recorded script from IBM Rational Functional Tester (RFT) fails to input text into the textbox of the AUT (application under test).


During playback setText() and inputchars() when used for a textbox fails to input characters into the textbox.

Example code :

<<object>>.setText() and <<object>>.inputchars()


This issue was identified as a product defect and logged under APAR PM87907.

Resolving the problem


Use the below sample code instead of using <<object>>.setText() or <<object>>.inputchars():


All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Sample Code

public void testMain(Object[] args)
       for(int i = 0; i < 4; i++)

Rate this page:

(0 users)Average rating

Add comments

Document information

More support for:

Rational Functional Tester

Software version:


Operating system(s):


Reference #:


Modified date:


Translate my page

Machine Translation

Content navigation