interactiveQTasteFile.println("result = interactiveCommand()");
interactiveQTasteFile.close();
ArrayList<LinkedHashMap<String, String>> l = new ArrayList<LinkedHashMap<String, String>>();
l.add(data.getDataHash());
// checks must be added to ask specific data
JythonTestScript ts = new JythonTestScript(l, requirements, iQTasteFile, iQTasteDirectory, null);
ts.setName(tcId);
ts.execute(false);
TestResult testResult = ts.getTestResults().get(0);
testResult.setName(tcId);
testResult.setComment("");
Bindings globalContext = JythonTestScript.getEngine().getBindings(ScriptContext.ENGINE_SCOPE);
if (globalContext.containsKey("result")) {
Object returnObject = globalContext.get("result");
String returnValue = "None";
if (returnObject != null) {
returnValue = returnObject.toString();
}
if (!ts.getTestDataSet().getData().isEmpty()) {
testResult.setReturnValue(returnValue);
}
}
} catch (IOException ex) {
//