//System.out.println("scriptRunner="+scriptRunner);
return new SimpleHttpResponse(scriptRunner.getStepJSON(derivedName, windowName, windowTitle, domain, wasOpened));
}
public void markStepDone(final HttpRequest request){
Session session = request.session();
ScriptRunner scriptRunner = session.getScriptRunner();
String failureMessage = request.getParameter("failureMsg");
String type = request.getParameter("type");
scriptRunner.markStepDone(request.getParameter("stepId"), ResultType.getType(type), failureMessage);
session.set204(false);
// try{
// new TestReporter().logTestResult(request);
// }catch(Exception e){
// e.printStackTrace();
// }