Command Get<> hangs when searching an element on child Window

May 28, 2012 at 7:16 PM
Edited May 28, 2012 at 7:23 PM

Hi all,

I am having an issue with finding elments on a window opened as a modal (dialog) screen from the main window in WPF application.  Tools, such UI Verify etc, locate all elements on the new window OK but not White Get<> method. As a matter of fact it simply hangs. I use Win2008 on virtual server, .Net 4.0. 

e.g:

var btn=siblingWindow.Get<Button>(SearchCriteria.ByText("Close")); - will not find the Close button and will not throw any exceptions.

Also,  Application.FindSplash() seems to be not working though SplashScreen is successfully launched and lives for a half a minute.

Any ideas, colleagues?

Thanks in advance.