or
//Enter path to file location string fullPath = "C:\\Temp"; //This code will only open the download dialog and click Cancel DownloadDialogsHandler handler = new DownloadDialogsHandler(Manager.ActiveBrowser, DialogButton.CANCEL, fullPath, Manager.Desktop); Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.MouseClick();string fullPath = "C:\\Temp"; Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.Download(false, DownloadOption.Cancel, fullPath, 10000);
//Enter path to file location string fullPath = "C:\\Temp"; //This code will only open the download dialog and click Cancel DownloadDialogsHandler handler = new DownloadDialogsHandler(Manager.ActiveBrowser, DialogButton.CANCEL, fullPath, Manager.Desktop); Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.MouseClick();string fullPath = "C:\\Temp"; Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.Download(false, DownloadOption.Cancel, fullPath, 10000);