How do I give absolute path to the properties file.
autoamtion_environment_properties = new Properties();
InputStream iStream = Thread.currentThread().getContextClassLoader().getResourceAsStream(("C:\\automation_environment.properties"));
This is giving a null pointer exception
.
If I have this file in project root folder it works, but I need to access it from outside. Any idea what needs to be done?
Thanks.