Raghavan_S

Lieutenant Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-10-11
07:23
1084 views
I have a keyword driven test and in the 'Attachment' section of the 'Properties' tab for the test I have attached an Excel file. I need to access this file at run-time to fetch data from it. Will this file be downloaded to the working folder while execution so tat I can access it? If not , What are the other ways to access this file at run time?
Note : I already have another excel file defined as the test data source and hence I cannot use that option for this excel file . I basically need to fetch data from both the excel files for my test
Regards,
Raghavan.S
2 Solutions
Accepted Solutions
Florian Guenther

Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-10-11
07:31
Hi,
best way is to put this Excel into a source control (which can also be a file share) and configure this source control for the Test Container where your KDT is located.
At runtime this file is then checked out on your execution server and you should be able to access it.
Regards,
Florian
best way is to put this Excel into a source control (which can also be a file share) and configure this source control for the Test Container where your KDT is located.
At runtime this file is then checked out on your execution server and you should be able to access it.
Regards,
Florian
Product Owner - Silk
Florian Guenther

Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-10-11
07:58
Hi Raghavan.S,
The attachments you can assign on the properties tab or on step level are accessible during manual test execution only. For automated test execution you will have to do it via the source control.
Regards,
Florian
The attachments you can assign on the properties tab or on step level are accessible during manual test execution only. For automated test execution you will have to do it via the source control.
Regards,
Florian
Product Owner - Silk
4 Replies
Florian Guenther

Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-10-11
07:31
Hi,
best way is to put this Excel into a source control (which can also be a file share) and configure this source control for the Test Container where your KDT is located.
At runtime this file is then checked out on your execution server and you should be able to access it.
Regards,
Florian
best way is to put this Excel into a source control (which can also be a file share) and configure this source control for the Test Container where your KDT is located.
At runtime this file is then checked out on your execution server and you should be able to access it.
Regards,
Florian
Product Owner - Silk
Raghavan_S

Lieutenant Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-10-11
07:52
Hi Florian,
Thanks a lot for the quick response. That is exactly what I am going to try out now and I have a source control profile defined for a GIT repository. I was also curious to know if the attachment section would provide a better alternative and if yes, take advantage of it.
Regards,
Raghavan.S
Thanks a lot for the quick response. That is exactly what I am going to try out now and I have a source control profile defined for a GIT repository. I was also curious to know if the attachment section would provide a better alternative and if yes, take advantage of it.
Regards,
Raghavan.S
Florian Guenther

Admiral
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-10-11
07:58
Hi Raghavan.S,
The attachments you can assign on the properties tab or on step level are accessible during manual test execution only. For automated test execution you will have to do it via the source control.
Regards,
Florian
The attachments you can assign on the properties tab or on step level are accessible during manual test execution only. For automated test execution you will have to do it via the source control.
Regards,
Florian
Product Owner - Silk
Raghavan_S

Lieutenant Commander
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-10-11
08:00
Hi Florian ,
Thanks again for clarifying that.
Regards,
Raghavan.S
Thanks again for clarifying that.
Regards,
Raghavan.S