Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Hi team,
We are doing POC for one of our wpf application.
Can you please give me the method or properties which verify wpf window is loaded or not and should return true /false.
Thank you,
Assert.IsNotNull(ActiveApplication.WaitForWindow(
"your next window name"
));
Hi Nikolay,
Thanks for a reply.
In the above statement, assert basically stops the current test case execution if window is not loaded,
But I wanted to try something if window is not loaded wait for 2 more sec and then continue till window is loaded.
ActiveApplication.WaitForWindow(
"yourWindowsCaption"
, 30000);