Skip to main content

Loading an ICA File in the Script

The name of the ICA file is passed in the CitrixVirtualUser or CitrixVirtualUserScript method LoadIcaFile(path).

If the path is an absolute path then you must ensure the file exists on both the local controller and remote injectors used by the tests.

However, the preferred approach is to to put the ICA file in the data/Files directory within your project, and then simply pass the filename as the path parameter.

LoadIcaFile("citrix_cloud.ica");

If the ICA file is placed in the data/Files folder, then it will automatically be copied to all the injectors at the start of the test.