Forum Discussion
SmartBear_Suppo
Alumni
17 years agoHello!
To make sure that the file path once expanded is correct, you can try using
(modify the path to suit you)
And check the Groovy log. If the String generated by this is the same as what you were statically feeding into FileInputStream, I see no reason why one would work and the other wouldn't. If they differ, maybe this will help you diagnose the problem more specifically. Good luck!
Regards,
Dain
eviware.com
To make sure that the file path once expanded is correct, you can try using
log.info("C:/.../Testing/temp/" + context.expand("${#TestSuite#testpropFilename}"));
(modify the path to suit you)
And check the Groovy log. If the String generated by this is the same as what you were statically feeding into FileInputStream, I see no reason why one would work and the other wouldn't. If they differ, maybe this will help you diagnose the problem more specifically. Good luck!
Regards,
Dain
eviware.com