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

Web test Download handling really slow

1 Answer 60 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
aplicaciones asked on 06 Feb 2018, 10:28 AM


I will try to depict my scenario as best as possible:

Browser:  Internet Explorer 11
To simplify: I have a rather simple Web Test in which I have to connect a Popup window and then  download a file. 

My code is like this: 


//Connect to Popup

Manager.WaitForNewBrowserConnect("https://someWebAdresss", true, 15000);


 DownloadDialogsHandler handler = new DownloadDialogsHandler(ActiveBrowser, DialogButton.SAVE, savedLocation, Manager.Desktop);

 //Trigger the dialog.



The issue I am facing right now is that the Download handling is really slow when executed with Telerik. By contrast, if I do this manually it's completely normal. Let me clarify this: the "toolbar" which offers the Save As appears but it takes (sometimes) a lot of time to execute. And then, when the download path is being set it also takes a lot of time.

What I would like to know is whether I am doing something wrong or if there is any way to speed up this.
PS: I have attached a sample of the download toolbar window to be more clear but this is not the actual image of my test.

1 Answer, 1 is accepted

Sort by
Nikolay Petrov
Telerik team
answered on 07 Feb 2018, 01:12 PM
Hello Sebastian,

Thank you for detailed case description.

The time-related problem I could identify here is related to the last line of code provided. If there is no time set in the WaitUntilHandled method it will use the maximum time set to wait for an element. Try to use a time interval as a method's argument to speed up the execution of this step:

Here is a sample in a doc article for a reference. I hope this will solve the problem. 

Best Regards,
Nikolay Petrov
Progress Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio
General Discussions
Asked by
Top achievements
Rank 1
Answers by
Nikolay Petrov
Telerik team
Share this question