Hi to all.
The problem is: "complete notification" bar is always visible and cannot be closed. Seems IE9DownloadCompleteNotificationBar does not work correctly.
Given: file that needed to be downloaded by clicking on button(btnExportProfile)
Code:
DownloadDialogsHandler part1_0 =
new
DownloadDialogsHandler(myManager.ActiveBrowser, DialogButton.SAVE, @
"C:\"
, myManager.Desktop);
SaveAsDialog part2_0 = SaveAsDialog.CreateSaveAsDialog(myManager.ActiveBrowser, DialogButton.SAVE, @
""
, myManager.Desktop);
IE9DownloadCompleteNotificationBar dlComplete1 =
new
IE9DownloadCompleteNotificationBar(myManager.ActiveBrowser, DialogButton.CLOSE);
myManager.DialogMonitor.AddDialog(part2_0);
myManager.DialogMonitor.AddDialog(dlComplete1);
myManager.ActiveBrowser.Find.ById<HtmlControl>(
"btnExportProfile"
).Click();
System.Threading.Thread.Sleep(10000);
part1_0.WaitUntilHandled(40000);
part2_0.WaitUntilHandled(40000);
dlComplete1.WaitUntilHandled(50000);
The problem is: "complete notification" bar is always visible and cannot be closed. Seems IE9DownloadCompleteNotificationBar does not work correctly.