log.initialize(entry,true);
entry.UserDefinedParams = param;
TestEnvironment tEnv = null;
try {
tCase.setLogWriter((PrintWriter) log);
tCase.initializeTestCase(param);
tEnv = tCase.getTestEnvironment(param);
} catch (Exception e) {
log.println("Exception while creating "+tCase.getObjectName());
log.println("Exception: " + e);
log.println("Message "+e.getMessage());