Hello,
I have a test plan where we need to test a downloading process. Can telerik automation tool handle this case? if yes how does it deal with browser default dialogues;ie, (download) .
Actually, Telerik stuck at this step and is unable to detect the browser dialogue.
I need to know how can I interact with the browser download dialog (ie, firefox, etc....) like the one shown in the attachment:
1) to know that the dialog indeed is shown and the file is prompted for download
2) to execute the actions on that dialog (Save, Open,Cancel) regardless of the target browser, at least for the known ones (IE, Firefox).
3) to detect the filename to be downloaded if possible.
I have tried many solutions that i found in forums, but none of them seem to work.
Ex :
Thanks in advance for your help.
I have a test plan where we need to test a downloading process. Can telerik automation tool handle this case? if yes how does it deal with browser default dialogues;ie, (download) .
Actually, Telerik stuck at this step and is unable to detect the browser dialogue.
I need to know how can I interact with the browser download dialog (ie, firefox, etc....) like the one shown in the attachment:
1) to know that the dialog indeed is shown and the file is prompted for download
2) to execute the actions on that dialog (Save, Open,Cancel) regardless of the target browser, at least for the known ones (IE, Firefox).
3) to detect the filename to be downloaded if possible.
I have tried many solutions that i found in forums, but none of them seem to work.
Ex :
Manager.Desktop.KeyBoard.KeyPress(Keys.Enter);
Window cancelButton = WindowManager.FindWindowRecursively(dialog.Window.Handle, "Cancel", false, 0);
manager.Current.Desktop.Mouse.Click(MouseClickType.LeftClick, cancelButton.Location);
Thanks in advance for your help.