Page 1 of 1

WaitForExists Causing Application Problems

Posted: Wed Feb 07, 2018 4:20 pm
by DavidHay
I came across a strange problem during testing an installation process. I have automated our application installation process using normal button clicks. A simple Click next, next, next, wait for install and then click finish. On our latest installation package we use a newer version of SQL, which is silently installed. With the newer version of SQL the Ranorex WaitForExists method causing the installer to freeze. I have proven it is Ranorex by replacing the WaitForExists with a hard coded delay. Everytime the WaitForExists somehow breaks our application install and it eventually fails to respond. Has anyone come across a similar problem to this before?

Re: WaitForExists Causing Application Problems

Posted: Thu Feb 08, 2018 12:11 pm
by Support Team
Hello David,

Thank you for posting your issue in the forum.

This issue is not yet known to us. In order to analyze it we will most probably have to replicate it with your installer.
It would be best, if you would contact us via our support form so that we may analyze the issue in more detail: Support-Query

We are looking forward to your ticket.

Sincerely,
Tomaž

Re: WaitForExists Causing Application Problems

Posted: Thu Jul 14, 2022 9:26 am
by Taz
I got the same Problem. "WaitFor" with "Exists" appears to crash the application. It's so disappointing because if it worked, it would solve a lot of problems our application has because of timing issues(down usually to network and database which can be slow at times). Putting delays in helps, but slows down the testing process so that it now takes nearly half a day to complete a full cycle of tests. Our App is a 32Bit WPF with a mix of code (C#, C++, Delphi).