Posted 31 Jan 2013 Link to this post
IList<FrameworkElement> indicators = ActiveBrowser.SilverlightApps()[0].Find.AllByType(
"BusyIndicator"
);
foreach
(var indicator
in
indicators)
{
Wait.For<FrameworkElement>((a_) => ((
bool
)a_.GetProperty(
new
AutomationProperty(
"IsBusy"
,
typeof
(
))) ==
false
), indicator, 20000);
}