TrailWrapper wrap1 = new TrailWrapper(flow);
String path = String.format("tmpfiles\\sr_3.out");
persistentStartIt(wrap1, path);
SRInstance run = persistentProceed(path, "");
TrailWrapper flow2w = (TrailWrapper)run.ApplicationFlow();
TestWebServlet2.MyApp flow2 = (TestWebServlet2.MyApp)flow2w.innerFlow();
persistentProceed(path, "");
log("--xxx--");
persistentProceedSlot(path, "yes", "confirm");
// assertEquals("city", "yes", flow2.M.city().get());
assertEquals("city", "yes", TestWebServlet2.PFlow.the_cityval);
persistentProceed(path, "");
run = persistentProceed(path, SRResults.ResultCode.DISCONNECT);
assertEquals("fail", false, run.isFailed());
assertEquals("fin", true, run.isFinished());
assertEquals("start", true, run.isStarted());
ChkTrail(run, "PFlow;PFlow;QuestionFlow;PFlow");
flow2w = (TrailWrapper)run.ApplicationFlow();
flow2 = (TestWebServlet2.MyApp)flow2w.innerFlow();
assertEquals("city", "yes", flow2.M.city().get());
log("---------end webservlet2-------");
}