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.
public void testMain(Object args)
for(int i = 0; i < 4; i++)