How do I tell if DownloadDialogHandler has actually handled a download dialog?

2 posts, 0 answers
  1. Steve
    Steve avatar
    35 posts
    Member since:
    Jan 2011

    Posted 14 Nov 2014 Link to this post

    In other dialog handlers, there's a HandleCount property to see how many times that dialog has been handled - is there a way to do the same with the DownloadDialogHandler?
  2. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 19 Nov 2014 Link to this post

    Hello Steve,

    There is no such property that can tell how many times a dialog has been handled.

    Regarding the subject of your request, the dialog handler has its own checks to see whether the file is physically present at the file path specified in the Handle Dialog step. After this we also check for the date, according to the start of the test, and if all conditions and checks are passed the Handle Dialog step passes.

    Long story short, if the handle dialog step passes it means the dialog in question has been handled.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top