Upload/Download Dialog Stays Open

2 posts, 0 answers
  1. Jessica
    Jessica avatar
    9 posts
    Member since:
    Aug 2017

    Posted 27 Sep Link to this post

    I've been writing test for a web based application. This is an intermittent issue and I can't seem to figure out why sometimes when the Handle FileUpload Dialog and the Handle Download Dialog will not complete. It will put a filename in the textbox but it doesn't Open or Save leaving the dialog unhandled. I've increased timeouts and verified other elements are enabled to try and get the timing right. I'm not sure why this happens sometimes consistently; but others intermittent. I have recalibrated my browser, cleared my browser cache and minimized the number of programs running while running tests. 

    Attached is a gif of the file upload document and screenshots of my Handle Dialog steps with the settings.   

    My Test Studio version is 2019.2.903.0 

  2. Plamen Mitrev
    Admin
    Plamen Mitrev avatar
    157 posts

    Posted 02 Oct Link to this post

    Hello Jessica,

    Thank you for sharing details about the test step configurations and the misbehavior.

    I noticed that you currently handle the download dialog with "CANCEL" action and the file will not be downloaded. That said, if you wanted to save the file, you need to provide the full path and file name in the "DownloadPath". You need to adjust the step properties and see if that will help with the test execution.

    As for the file upload dialog that you have recorded in your test, you also need to have the full path and name of the file. Set it in the "FileUploadPath" for that step and run the test again.

    In case you continue to experience any troubles, please clear/enable the application log and share it zipped along with the the .tstest file of this test, located in project root folder. I will analyze those resources and provide further assistance.

    Thank you for your understanding and cooperation.

    Regards,
    Plamen Mitrev
    Progress Telerik

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