Download file dialog with "Find" button instead of "Open" button doesn't handled properly

2 posts, 0 answers
  1. Anton Litunenko
    Anton Litunenko avatar
    5 posts
    Member since:
    Apr 2010

    Posted 15 Dec 2010 Link to this post


    I would like to share a problem, we experinced recently.

    In 2 different tests we have got download file dialogs.

    In first test case IE 7 shows Download dialog with "Open", "Save", "Cancel" buttons. And this dialog is handled properly. (see attached file OpenSaveCancel.png)

    In other test case IE 7 shows Dowload dialog with "Find", "Save", "Cancel" buttons. And Webaii doesn't handle this dialog at all. (see attached file FindSaveCancel.png)

    Our configuration:
    Webaii: 2010.2 830
    OS: WinXP

    Here is a piece of code which handles both dialogs:

    IEDownloadDialog iedownload = new IEDownloadDialog(
    SaveAsDialog saveas = new SaveAsDialog(
    IEDownloadCompleteDialog iedownloadComplete1 = new IEDownloadCompleteDialog(

    We also tried to write this test using WebUI Test studio Developers edition, but we got the same issue. 

    Could you please help us to resolve this issue?
  2. Stoich
    Stoich avatar
    1 posts

    Posted 21 Dec 2010 Link to this post

    Hi Anton,
       I could not confirm the problem. Are you using the latest version of WebAii (2010.3.1213)? If you're not upgrading might solve the issue. You can downloaded it from our website.

    I tried handling the described "Find" dialog - it worked both in Dev edition and in code only. I handle it as a regular Download dialog. Here's the code for a test that navigates to a site, opens a Find Dialog and handles it (run successfully on my machine):
            ArtOfTest.WebAii.Win32.Dialogs.IEDownloadDialog md = new ArtOfTest.WebAii.Win32.Dialogs.IEDownloadDialog
            HtmlButton b = Find.ByExpression<HtmlButton>("innerText=Download \"Stairway To Heaven\" Guitar Pro Tab");

    Paste the code in a new test, run it and let me know whether it runs successfully.

    Hope to hear from you soon!

    Best wishes,
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
Back to Top