Page 1 of 1

Failed to get response from control within 2000 milliseconds

Posted: Tue Jun 03, 2014 8:21 pm
by davilo61
Hi,
I'm encountering the following error during playback of a smart client application:
Action 'press' failed on element '{Button:btnVoSaveChanges}'.
Failed to get response from control within 2000 milliseconds.

I've tried several different fixes, including adding waits and delays. Is there a value that can be updated for that repository object timeout? The search timeout value is set to 30 seconds for that object.
The button is found and is 'Pressed', however, playback stops due to the error above.

I also searched and found some previous posts regarding this issue, but the solutions were unclear to me.

Vers 5.0.3 18203 .Net Runtime Version 4.0.3.319.18063

Re: Failed to get response from control within 2000 milliseconds

Posted: Fri Jun 06, 2014 8:25 am
by Support Team
Hello davilo61,

I was able to reproduce your issue. The problem in my case was that the SmartClient opened a new window so the application didn't respond until it was closed. Therefore, the the Button.Press(). failed. As a workaround I suggest using a Button.Click() instead of the Button.Press().

Please let me know if you were able to overcome the issue.

Regards,
Robert

Re: Failed to get response from control within 2000 milliseconds

Posted: Thu Dec 04, 2014 10:47 am
by backwood123
Hi,

I got the same problem.
I was trying to send a text into the dropdown box. The text was successfully modified, but then the script failed to run afterwards. It was supposed to click another button after sending the text, and I have already used the button.click() function for this purpose.
Is there any solution for this?
Thanks.

Re: Failed to get response from control within 2000 milliseconds

Posted: Fri Dec 05, 2014 10:16 am
by Support Team
Hello backwood123,

May I ask you to answer following question?
  • • Which version of Ranorex do you currently use?
    • To which dropdown box are you referring?
Please create a Ranorex snapshot of your SUT (System under Test) and either upload it to the forum directly or send it to [email protected]

Thanks,
Robert

Re: Failed to get response from control within 2000 milliseconds

Posted: Mon Dec 08, 2014 8:56 am
by backwood123
I am using version 5.1.2.19431
Attached the screenshot, please help investigate.
Thanks a lot!

Re: Failed to get response from control within 2000 milliseconds

Posted: Wed Dec 10, 2014 10:53 am
by Support Team
Hello backwood123,

May I ask if it’s possible to send your system under test to us? Or at least a small demo version which also causes the issue?

Thank you in advance.

Regards,
Robert