private static Hashtable getProperties() throws Exception
{
Hashtable hash=new Hashtable();
String propertiesfile = System.getProperty("user.dir") + "\\TestLivelink.properties";
InputStream in1 = new BufferedInputStream(new FileInputStream(propertiesfile));
ResourceBundle resourceBundle1 = new PropertyResourceBundle(in1);
Enumeration keys=resourceBundle1.getKeys();
Object value="";
String key="";
while(keys.hasMoreElements())
{
key=keys.nextElement();
value=resourceBundle1.getObject(key);
hash.put(key, value);
}
//System.out.println("hello:"+hash.toString());
return hash;
}