Hi,
I'm trying to download a file that is generated from our site and when the "download file" prompt appears, telerik used to click on the dialog with the actual mouse cursor which would click on the Save As button. This no longer happens. If I help the test along and click on the Save As button in the download prompt, the Save As dialog comes up and I see that the file path is then entered into the dialog by the test. From there it seems to move on correctly. This used to work for us, but randomly just stopped for some reason. Here's the code that I'm running:
DownloadDialogsHandler saveDialog = new DownloadDialogsHandler(browserWindow, DialogButton.SAVE, pathToFile + fileName, manager.Desktop);
manager.DialogMonitor.Start();
Logging.DocumentStepLevel("Click the button to export the report/file.");
ClickElement(browserWindow, xPathOfBrowseButton, true);
saveDialog.WaitUntilHandled(45 * 1000);
Computer Info:
Windows 7
Internet Explorer 10
I'm trying to download a file that is generated from our site and when the "download file" prompt appears, telerik used to click on the dialog with the actual mouse cursor which would click on the Save As button. This no longer happens. If I help the test along and click on the Save As button in the download prompt, the Save As dialog comes up and I see that the file path is then entered into the dialog by the test. From there it seems to move on correctly. This used to work for us, but randomly just stopped for some reason. Here's the code that I'm running:
DownloadDialogsHandler saveDialog = new DownloadDialogsHandler(browserWindow, DialogButton.SAVE, pathToFile + fileName, manager.Desktop);
manager.DialogMonitor.Start();
Logging.DocumentStepLevel("Click the button to export the report/file.");
ClickElement(browserWindow, xPathOfBrowseButton, true);
saveDialog.WaitUntilHandled(45 * 1000);
Computer Info:
Windows 7
Internet Explorer 10