//execute the command
return executionService.executeCommand(context, script.getCommand(), node);
} else if (null != script.getScript()) {
final String filepath; //result file path
try {
filepath = executionService.fileCopyScriptContent(context, script.getScript(), node);
} catch (FileCopierException e) {
throw new NodeStepException(e.getMessage(), e, e.getFailureReason(), node.getNodename());
}
return ScriptFileNodeStepExecutor.executeRemoteScript(context,
context.getFramework(),