RFT playback appears slow and takes about a second to enter each character in string passed to inputChar() or inputKeys()
prakash s chauhan 27000140Y5 Comments (2) Visits (3886)
Rational Functional Tester (RFT) provides APIs like inputChars() /inputKeys() to, as the names suggest, are used for entering text into the Application Under Test(AUT).
Sometimes while playing back script action as :
each character seems to be played back noticebly slow (approx a second's delay between each character).
How to handle:
There is a timeout value that RFT uses to make sure that an event generated by it is consumed by the application and this timeout is about a second.
This can be configured through the following flag in ivory.properties located in <RFT Install dire
the # symbol means the flag is commented out .. so it needs to be un-commented (by removing the #)and the value (milliseconds) can be changed to a lower value like 100 milliseconds as below
*Note- RFT and any AUT (like browsers) must be restarted for the changes to take effect.