Forum Discussion
Can you map "\\ldvdevinvrt01" to a local drive say, Z and replace the FilePath with "Z:/resources/Sharepipe/"
Nope :smileysad: still failing.. TC Passes with the hardcoded value (Y:\Sharepipe\CC8F5797-8CB5-4175-A564-781A5DA76221.txt)
- nmrao7 years agoChampion Level 3Can you show some more lines of actual code of the script, please?
Use file path separator "/" even on windows.
Avoid spaces in file / directory names.
Have you checked if the file exists?- harry217 years agoOccasional Contributor
The code which i used is just to ensure whether my Property Expansion refers the correct value. And, there is no space in the filename/directory and the file exists there.
I'm not getting the point "Use file path separator "/" even on windows." I tried with "/" separator as well,. Still failing
One more thing i've tried.. Adding another Property (Actual) in the Property step. Given the entire filepath (\\ldvdevinvrt01\resources\Sharepipe\CC8F5797-8CB5-4175-A564-781A5DA76221.txt). Now, accessing this in File Wait step using ${TC Properties#Actual}. Failing for this as well.
- harry217 years agoOccasional Contributor
This is a bug in Ready API that Property Expansion not working for "FileWait" test step. I've created a separate ticket and SmartBear is working on it (RIA-3179).
Related Content
- 5 years agoComputingFroggy
- 13 years agogordillo_ramon