Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

WaitForWindow fails even the window exists

$
0
0

Hi Telerik, here's the scenario:

1. Click a button on the main window to open a new window called xWindow. WaitForWindow("xWindow Caption", 10000) works just fine and returns xWindow. Close xWindow by clicking a button on it plus checking: xWindow.Window.WaitForVisibility(false, 10000) and xWindow.Window.exists is false.

2. Click that button again to open xWindow the second time. WaitForWindow("xWindow Caption", 10000) fails and throws a TimeoutException. The funny thing is that the exception lists the current existing windows including "xWindow Caption".

Please have a look at my situation.

Thank you,


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>