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

Parameterize Save Location

11 Answers 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chelsea
Top achievements
Rank 1
Chelsea asked on 23 Nov 2015, 08:23 PM

Is it possible when executing a test, when handling the download dialog, the executer can

parameterize the save location of the file?

 

11 Answers, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 24 Nov 2015, 08:20 PM
Hi Chelsea,

Yes, we call that data driven testing. See the attached screen shot for where to set the property.

Let me know if you need further assistance.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chelsea
Top achievements
Rank 1
answered on 24 Nov 2015, 08:58 PM

Hi Cody,

 I added an excel sheet with the location I wanted the file to be saved as a data source.

After binding the data source to the test, when I click on the area to drop down, the column

name does not appear. I have done data driven testing before and every other time, the

column name appears. Any idea as to why it is not now?

Thanks.

0
Cody
Telerik team
answered on 24 Nov 2015, 10:24 PM
Hi Chelsea,

Are you using an XLSX file? I wonder if you're running into this known problem.

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chelsea
Top achievements
Rank 1
answered on 25 Nov 2015, 02:19 PM
Hi Cody,

The problem you mentioned does not show any sheets to select. That is not my problem as I am able to select the sheet. Once selecting the sheet and going into properties to do the bindings, in the drop down when usually there are the column names to bind the test with, nothing appears. Additionally, yes I am using an XLSX file.
0
Cody
Telerik team
answered on 25 Nov 2015, 02:46 PM
Hello Chelsea,

Since you are able to select a sheet I agree you are not running into the same problem of data not showing as documented in that KB article.

I'd like to reproduce this problem on my machine so I can study it and figure out why it's happening. Can you send me a complete test project that reproduces this problem (including detailed instructions how to reproduce it)?

To send me your project put the entire project folder into a .zip file and attach that file to this support ticket. You can leave out the Backup folder and Results folder to save space. If it's larger than 20MB let me know and I'll provide and alternate method for sending me the .zip file.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chelsea
Top achievements
Rank 1
answered on 25 Nov 2015, 05:55 PM
Hi Cody,

I have attached the test along with screenshots of when I bind the test and the path where it should be saving (although you will have to change it to match yours). I hope this helps. Is the path format that I have included correct? To reproduce the problem you just have to execute the test and see where the file is saved to.

Thanks.
0
Cody
Telerik team
answered on 25 Nov 2015, 08:40 PM
Hi Chelsea,

I was not able to reproduce any problem. It's running exactly as expected. Here's a 3 minute video demonstration:
http://screencast.com/t/VVBcfCE3G

Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chelsea
Top achievements
Rank 1
answered on 25 Nov 2015, 08:42 PM

Hi Cody,

The webpage is blocked on my PC. Did it save the document to the specified drive in the excel doc?

What do you mean by its running exactly as expected?

0
Accepted
Cody
Telerik team
answered on 25 Nov 2015, 08:51 PM
Hello Chelsea,

The test saved the file in the folder pointed to by the Excel file. I attached the video for you to download. You'll need 7zip to extract it. In case you cannot download and install 7zip, here's a direct link to download the video:
https://www.dropbox.com/s/5rouyetlyr4327x/2015-11-25_14-37-42.mp4?dl=0


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Chelsea
Top achievements
Rank 1
answered on 25 Nov 2015, 09:01 PM

Hi Cody,

It works when I add the myfile.exe like you did.

Thanks!

0
Cody
Telerik team
answered on 25 Nov 2015, 10:14 PM
Hi,

Excellent! Thank you for the update.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Chelsea
Top achievements
Rank 1
Answers by
Cody
Telerik team
Chelsea
Top achievements
Rank 1
Share this question
or