08-14-2014 02:29 PM
I deployed a new version of a test today and got an error when TS went to find a Configuration File for the Property Loader. The test works on my development system but the deployed version has this error.
A close look at the error shows it is missing part of the path. "\T" seems to have been replaced by a return or line feed.
The deployment places the files in the proper folder. But the Property Loader has the path wrong.
I have 3 picture files attached:
Error.jpg shows the error I get when I try to run the test.
Text File in project.jpg shows the file properties.
Expression.jpg shows how the expression for the path is set up in the Property Loader.
When I Analyze the Source Files I get a Warning:You may need to add the files referenced by the following expression from the Property Loader...... and it indicates the same expression as in the Expression.jpg.
Thanks for the help,
Steve
08-14-2014 03:43 PM
I added double backslashes to the path. I am now building it and will see if that was the problem. This test has had the single backslashes for several revisions with no problems until now....
Steve
08-15-2014 02:04 PM
With double backslashes that step now works.
The curious thing is this test has used single backslashes since April of 2013 for over 15 revisions. How did it work that long without an issue?
Maybe the single vs double backslashes is not the problem here??
Thanks,
Steve
08-15-2014 02:17 PM
Hey SteveFeeser,
I'm glad that it worked out for you. Here's some information that may shed some light on your question.
TestStand 2012 includes the following enhancements to operators in expressions:
http://zone.ni.com/reference/en-XX/help/370052K-01/tshelp/infotopics/2012whatsnew/
Hopefully this helps.
08-15-2014 02:28 PM
I forgot to mention: I am using TestStand 4.2.1.
Thanks,
Steve