File Download Dialog hanging

2 posts, 0 answers
  1. Alex
    Alex avatar
    24 posts
    Member since:
    Aug 2010

    Posted 14 Jul 2011 Link to this post

    I'm having the exact same issue. Below are my attempts to get this to work. 


    //Enter path to file location
    string fullPath = "C:\\Temp";
    //This code will only open the download dialog and click Cancel
    DownloadDialogsHandler handler = new DownloadDialogsHandler(Manager.ActiveBrowser, DialogButton.CANCEL, fullPath, Manager.Desktop);
    The above will open the File Download dialog and it will just hang until it times out.

    I've also tried the code below 
    string fullPath = "C:\\Temp";
    Pages.UMDealerBusiness_40.UserControl130DBIEXCELREPORTDOWNLOADBtnDownloadReportLink.Download(false, DownloadOption.Cancel, fullPath, 10000);

    The code above won't open the File Download dialog. The overall result is a success, but I don't believe the dialog is being called at all.

    I've also trying the built in dialog handlers in the development edition of WebAii, but they react the same way the first piece of code does.
  2. Anthony
    Anthony avatar
    19 posts

    Posted 15 Jul 2011 Link to this post

    Hi Alex,

    This appears to be a duplicate of this forum post. We'll answer you there.

    the Telerik team
    Register today for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!

    Have you looked at the new Online User Guide for Telerik Test Studio?
Back to Top