Hi I have created a new script in IBM RFT in .net script 2005. The script is very slow. Please advice what should be done.
Here is an example of slowness:
ApplicationMenuBar().Click(AtPath("File->Open..."))
OpenWindow().InputChars("C:\Test\new.txt")
OpenButton().Click(AtPoint(30, 9))
This code is used to open file and then input character and then clicked open button. This all process takes 1.5 minutes of time.
Please suggest. Examples will be appreciated
I can't be sure, but your behaviour looks like RFT has some difficulties to find the objects to interact with. Probably your recognition score is quite low, and RFT waits for a lower score objects before interacting (lower score = object is similar to the one requested).
Take a look at this short intro to Script Assure technology. Then manually set your recognition properties using a Regular Expression. This way your objects will be recognized immediately without the need of a wait. Probably some id is changing between each run of the application under test.