or
I am Facing Problems in Handling Download Dialogs in IE 9, I used the Code Snippet below:-
This Code works in IE 8, but not in IE 9
//Code to Handle the IE Download DialogBox
IEDownloadDialog iedownload = new IEDownloadDialog(Manager.ActiveBrowser, DialogButton.OPEN, Manager.Desktop);
//Handles the Dialog Pop-up
Manager.DialogMonitor.AddDialog(iedownload);
Please help me how to Resolve this problem in IE9 first
Also I want solution for All other Browsers (FF, Chrome, Safari)
Thanks
Nitin
Settings testSettings = new Settings(); testSettings.Web.Browser = BrowserExecutionType.Safari; testSettings.ClientReadyTimeout = 60000; testSettings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle; Manager mgr = new Manager(testSettings); mgr.LaunchNewBrowser(BrowserType.Safari, true); mgr.ActiveBrowser.NavigateTo("http://www.google.com"); System.Threading.Thread.Sleep(5000); mgr.ActiveBrowser.NavigateTo("foo://bar"); System.Threading.Thread.Sleep(5000); mgr.ActiveBrowser.NavigateTo("http://www.bing.com");