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

Timed out error for download dialog to be handled.

11 Answers 258 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
priyanka
Top achievements
Rank 1
priyanka asked on 10 Feb 2017, 10:38 AM

While downloading .xls files, I get below error (Chrome browser) though file getting download and saving the correct path specified.

Timed out waiting '80000' msec. for download dialog to be handled.
InnerException:
System.TimeoutException: Timed out waiting '80000' msec. for download dialog to be handled.
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DownloadDialogHandlerDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.DialogHandlerDescriptor.Execute(IAutomationHost browser)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)

 

Kindly help how to handle this.

 

11 Answers, 1 is accepted

Sort by
0
Nikolay Petrov
Telerik team
answered on 14 Feb 2017, 04:14 PM
Hello Priyanka,

Please check in the Chrome settings - if the option "Ask where to save..." is enabled. See the attached screenshot for a reference. If it is not checked the browser will download automatically the file not using the file download dialog and the "Handle..." step will fail.

I hope this will solve the issue.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
priyanka
Top achievements
Rank 1
answered on 14 Feb 2017, 05:08 PM

Hi Nikolay,

I have checked "Ask where to save each file before downloading" and I do mention the download path in Handle "Download" dialog.

still I am getting the same error as mentioned above. ( attached screenshots)

Let me know I am missing something here.

Thanks,

Priyanka

 

0
Nikolay Petrov
Telerik team
answered on 15 Feb 2017, 04:43 PM
Hello Priyanka,

It is possible that the dialog did not appear when the test step is trying to handle it. To make sure that this is not the case you may try to put an execution delay step from the Step builder or to rise up a bit the initialization time of the dialog step. See at the attached screenshot for a reference, please.

If this does not help, make sure that you are using latest product version (2017.1.207) and latest Chrome extensions available in the app store.

Let me know if this solves the issue.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
priyanka
Top achievements
Rank 1
answered on 15 Feb 2017, 05:50 PM

Hi Nikolay,

Still no luck, I installed TS version (2017.1.207) and latest Chrome extensions, end up with same error.

Yes, my excel sheet is downloading and saving at the path mentioned but download handle pop up not opening up and TS throws error here.

Thanks,

Priyanka

0
Nikolay Petrov
Telerik team
answered on 17 Feb 2017, 08:26 AM
Hello Priyanka,

I reproduce this problem if the "HandleTimeout" of the step was the one you have set in the test. Try to increase the "HandleTimeout" property of the 'Handle "Download" dialog' step to 30000 msec.

I hope this will solve the issue.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
priyanka
Top achievements
Rank 1
answered on 17 Feb 2017, 11:09 AM

Thank you Nikolay Petrov. It solved my problem. Now "Handle 'Downlaod' step is passing on both browsers IE11 and Chrome.

Thanks for your patience and help!

0
Nikolay Petrov
Telerik team
answered on 20 Feb 2017, 02:10 PM
Hi Priyanka,

I'm glad to know that. You're most welcome.

Regards,
Nikolay Petrov
Telerik by Progress
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Dipti
Top achievements
Rank 1
answered on 05 Jun 2020, 02:40 PM

Hi Team, 

I am getting the error "Timed out waiting '25000' msec. for download dialog to be handled" when i tried to download the pdf file. The file is downloaded and  saved on the location but its still giving the error, and I am using chrome. Here are the screenshots attached.

0
Elena
Telerik team
answered on 08 Jun 2020, 08:52 AM

Hello Dipti,

I am sorry to know you are having troubles with the Download dialog in Chrome and will be happy to assist you with that. 

First thing to mention, though, is that you are referring a post, which dates back more than three years and the current troubles you have may be related to something else. 

So, to get familiar with the current details on your end, please, let me know your input on the below topics: 

  1. Which version of Test Studio you are using? 
  2. Update Test Studio to the latest available version and let me know which it is?
  3. Which version of Chrome you are using? 
  4. Check the Project settings and if Chrome is calibrated
  5. If using the latest Test Studio 2020.1.331, use the Restore button against the Chrome browsers, and then Calibrate again.
  6. In case these actions do not change anything in the behavior, please, generate an application log during the failing run - enable/clear the logging, start the test run and wait for it to fail, then collect the logging and send it zipped via this thread. 
  7. Prepare a screenshot of the Browsers tab in the Project Settings.

Thank you for your cooperation in advance. I am looking forward to hearing back from you.

Regards,
Elena
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Dipti
Top achievements
Rank 1
answered on 13 Jul 2020, 10:18 AM
Hi Elena, 

Sorry for the late response, but after downloading the latest version of telerik its working fine for me. But i have one more question that every time a file is downloaded I want  that it should be saved with the name, for now it takes the downloaded path as name of the file, as I want download the file automation process for at least 5 hours. Screenshot is attached for reference 
0
Elena
Telerik team
answered on 14 Jul 2020, 03:29 PM

Hello Dipti,

I am glad to know that handling the dialog is working for you now. 

As far as I understand you would like to have a different name for the file by each test execution - is that correct?

If so, you can prepare the name of the downloaded file in a coded step, so that this is unique each time and then assign this value along with the folder path into the File Name field of the step. 

To accomplish this, you will need to get familiar, if not already, with the feature in Test Studio to use extracted variables in a coded step. Within the coded step you can generate that random name for the file and assign it to a variable along with the folder path. 

Once you have this variable, you can data drive the Download path field of the download dialog

Please, take the time to review the suggested solution and let me know if you need further assistance.

Thank you in advance for your cooperation.

Regards,
Elena
Progress Telerik

Tags
General Discussions
Asked by
priyanka
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
priyanka
Top achievements
Rank 1
Dipti
Top achievements
Rank 1
Elena
Telerik team
Share this question
or