cancel
Showing results for 
Search instead for 
Did you mean: 

How to get path to file in Stores

Contributor

How to get path to file in Stores

Hi



In my test I need to load a file into my test application. I would also like this file to be a part of the testcomplete project, so I would like to keep it in the Stores -> Files collection. But how do I retrieve the actual path to the file from my script?



I use TC 8



Best regards

Lars Lund Olsen
3 REPLIES 3

RE: How to get path to file in Stores


Hi Lars,





Please use the FileNameByName or FileNameByIndex method.


Best regards,
Alexey


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
Contributor

RE: How to get path to file in Stores

Great, it worked! Thanks :-)



Best regards

Lars Lund Olsen
New Contributor

Re: How to get path to file in Stores

If File Path is too long then I would like to suggest you, try Long Path Tool program to resolve this issue.
 
February News
Top Kudoed Authors