1

I Configured a windows application using Application Configuration Tool. Did the recording and when i play back the Application is opening fine but the script after that is not running. When i try to debug some times it is identifying and running the script but some times it is not running right after opening the application. It should put the credentials and login to the application. If i debug the script and keep pressing Cntrl + F8 some times it is running. Some times it is not running. If not debuging it is not running at all after opening the application. Do anyone know why ? I instered Delay also but still the same.

        StartApp("Application Name")
        Delay(10000)
        UserEditText().Click(AtPoint(55, 12))
        Delay(10000)
        LogonToApplication().InputChars("UserName")
        PwdEditText().Click(AtPoint(107,7))
        LogonToApplication().InputKeys("Password")
        OKButton().Click()   

--- In the screenshot I attached. In the Playback the script it is showing is just UserEditText().Click not the exact script with the co-ordinates which is UserEditText().Click(AtPoint(55, 12)).

Is that a problem?

enter image description here

1

There is usually a timeout after which RFT typically throws either an Exception dialog (which is can be turned on/off through preferences) or stops the script with the ObjectNotFound or some other exception like WindowActivationFailed. I would suggest to have a look at the RFT preferneces/Options for various timeout values/delays in preferences/options under Functional Test/Playback .

The playback Monitor does not display the Coordinates so that should not be causing this issue . Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.