Dependencies

You can specify the files upon which your .NET code depends using the Add Dependencies dialog box (select Add Dependencies from the Silk Performer menu).

The files you specify will be added to your Silk Performer project’s data files section. This ensures that those files will be available on agents when you run tests that use multiple agents. To get the path to a file you have added to the data files section, use the GetDataFilePath function of the BDL object. This function returns the absolute path to the file. If you run a Try Script on localhost, the path will be to your original file. If you run a test it will return the path in the agent’s data directory.