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

Handle Download Dialogue Rendering "Path Not Found" Error

4 Answers 84 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 20 May 2011, 02:49 PM
Running an export test, I have a Download handler in my script to click "Save" after the path is entered in the Windows Explorer "Save" dialogue, but when I run the script, WebUI throws an error stating that the path doesn't exist. I've verified that path is correct and have tried the path with and without the file name included.

What am I missing?

Please see attached jpg for what the relevant steps look like in the script.

4 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 20 May 2011, 05:50 PM
Hi Tom,

Are  you 100% certain the error is "the path doesn't exist"? The browsers dialog can throw that message when you specify the path, but Test Studio does not verify this path at all during test execution. it simply blindly types that path into the Download path of the download dialog.

Most of the time when people state the download isn't working as expected have forgotten to UNcheck the ckeckbox that is shown here in figure 11. You have to do this manually one time (by downloading any file from anyway) before running your test. IE will remember this setting for all future downloads.

Kind regards,
Cody
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Tom
Top achievements
Rank 1
answered on 20 May 2011, 05:59 PM
I'm positive that's what the error states. It looks like an IE error, but when I execute the test manually, the error doesn't present. It only occurs during playback.

The checkbox you indicated is off.

The attachment shows the error. Why would it work during manual testing? I've even manually typed the path into the save path to make sure that's not an issue.
0
Accepted
Cody
Telerik team
answered on 20 May 2011, 09:56 PM
Hello Tom,

Thank you for the screenshot. Yes that is an IE error dialog (not a Test Studio owned dialog). If you look very closely you'll notice that the left and right parenthesis are missing around "x86". I have managed to reproduce this bug locally. I have filed a bug on this which you can track here. I have added Telerik Points to your account for discovering this bug for us.

Can you use a path that doesn't contain ( ) characters instead while we work on fixing this bug?

All the best,
Cody
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Tom
Top achievements
Rank 1
answered on 23 May 2011, 02:29 PM
Thanks for getting back to me on this. Yes, all I need is a save path, so I'll change my path to a dir on C:\root.

Thanks again,
TomB
Tags
General Discussions
Asked by
Tom
Top achievements
Rank 1
Answers by
Cody
Telerik team
Tom
Top achievements
Rank 1
Share this question
or