Verifying PDF download... ?

3 posts, 0 answers
  1. Chris
    Chris avatar
    32 posts
    Member since:
    Oct 2015

    Posted 22 Aug 2016 Link to this post

    I have a drop down on a web page and i select an item in the list. I click the submit button and it automatically downloads the file into my /Downloads folder (Chrome). How can I verify that the PDF was downloaded successfully? I dont want to check the contents of the PDF (no DOM), all I want is to verify that a file got downloaded successfully and it didn't time out/redirect to an error page/etc... Thanks for the help!


    - Chris

  2. Aaron
    Aaron avatar
    48 posts
    Member since:
    May 2016

    Posted 23 Aug 2016 in reply to Chris Link to this post

    This could be useful, and could be used to check that the file downloaded in a coded step.

  3. Boyan Boev
    Boyan Boev avatar
    1072 posts

    Posted 25 Aug 2016 Link to this post

    Hello Chris,

    This can be done in a coded step with method which Aaron posted. 

    Let us know if that helps.

    @Aaron, thank you for sharing your knowledge with your community.

    Boyan Boev
    Telerik by Progress
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top