API in SilkTest to access the Data folder
I looking for a programmatic means to access the files that are located in SilkTest 'Data' folder.
Looking at the existing APIs like SYS_ListRead, SYS_FileOpen, etc. and there doesn't seem to be anything that gets you into the project tree other than FileOpen and then then it's matter of going up directories (e.g. "..\mydir\file.txt") etc.
Is there anything more generic available that I'm missing?
Re: API in SilkTest to access the Data folder
I couln't understand clearly. I hope, you are looking a built-in function to get the files under a folder.
You can use SYS_GetDirContents(sFolder).. Check ST help.