This is a migrated thread and some comments may be shown as answers.

Problem with dafault browser download dialogue

1 Answer 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ilem
Top achievements
Rank 1
ilem asked on 28 Oct 2010, 10:55 AM
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 :
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.

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 28 Oct 2010, 04:33 PM
Hello ilem,

Let's handle this via the support ticket you already filed on the same problem.

All the best,
Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
ilem
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or