}
script.setStatus(ScriptStatus.PASS);
} catch (Exception ex) {
script.setStatus(ScriptStatus.FAIL);
String rootCauseMsg = StringEscapeUtils.escapeXml(ExceptionUtils.getRootCauseStackTrace(ex)[0]);
script.setFailure_reason(new ScriptExcuteFailedException(rootCauseMsg));
}
logger.info("Sikuli Script Completed");
}