IE: DownloadDialogsHandler not clicking on download file prompt

3 posts, 1 answers
  1. Dan
    Dan avatar
    8 posts
    Member since:
    Oct 2013

    Posted 03 Nov 2014 Link to this post

    I'm trying to download a file that is generated from our site and when the "download file" prompt appears, telerik used to click on the dialog with the actual mouse cursor which would click on the Save As button.  This no longer happens.  If I help the test along and click on the Save As button in the download prompt, the Save As dialog comes up and I see that the file path is then entered into the dialog by the test.  From there it seems to move on correctly.  This used to work for us, but randomly just stopped for some reason.  Here's the code that I'm running:

    DownloadDialogsHandler saveDialog = new DownloadDialogsHandler(browserWindow, DialogButton.SAVE, pathToFile + fileName, manager.Desktop);


    Logging.DocumentStepLevel("Click the button to export the report/file.");
    ClickElement(browserWindow, xPathOfBrowseButton, true);

    saveDialog.WaitUntilHandled(45 * 1000);

    Computer Info:
    Windows 7
    Internet Explorer 10
  2. Answer
    Boyan Boev
    Boyan Boev avatar
    1072 posts

    Posted 06 Nov 2014 Link to this post

    Hello Dan,

    The code you are using should work correctly.

    Please double check you have configured IE according to this article.

    A Jing video of the behavior may also help us diagnose your issue.

    Could you also give us a direct access to the application so we can try to reproduce the issue?

    Looking forward to hearing from you.

    Boyan Boev
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Dan
    Dan avatar
    8 posts
    Member since:
    Oct 2013

    Posted 06 Nov 2014 Link to this post

    Hi Boyan,
    I've verified that I have configured IE correctly and I tried to attach a jing file, but it exceeds the 2mb limit even though my video is only 30secs long.  Is there a different way for me to send you the video?
    - Dan
Back to Top