This is a migrated thread and some comments may be shown as answers.

Upload/Download Dialog Stays Open

1 Answer 111 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jessica
Top achievements
Rank 1
Jessica asked on 27 Sep 2019, 10:45 PM

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 

1 Answer, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 02 Oct 2019, 06:54 AM

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!
Tags
General Discussions
Asked by
Jessica
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question
or