| || |
Unable to find file path when running script.
I have a script that reads from a .csv file to get different login IDs for each virtual user. I also write the ID used to an output file to verify that each login ID is being used in the file. When I "TRY" this script it runs fine and I am able to see that the login ID used was the first one in the file. However, when I "RUN" the script with only one user I get the following error:
Error FileCSVLoad,FileFixedLoad Runtime: 1016 - Cannot find data file, File: login.csv, Reason: SYSTEM: 2 - The system cannot find the file specified.
I have tried to specify the path in the script and the correct path is being used in the directory settings for the system.
Has anyone else run into this problem? Once again the script will work during a "TRY" but cannot find the .csv file during the "RUN."
Re: Unable to find file path when running script.
You have to make sure the data file is added to the project. In Silk Performer 4.0 right click on the project and click on add data file. Select the file and "RUN" the script.