Forum Discussion
SmartBear_Suppo
16 years agoSmartBear Alumni (Retired)
Hello!
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
Related Content
- 9 months agoRichardPla
- 3 years agoaaronpliu
Recent Discussions
- 5 days agoemoya