@Override public void intial(Sheet sheet) { super.intial(sheet); sb.setLength(0); String s; Step ts = null; for (Iterator<Cell> i = sheet.getRow(StartRow).cellIterator(); i.hasNext(); ) { Cell c = i.next(); s = ExecutionTool.getCellValue(c); if (s != null) { ts = TestCaseDef.flowTabs.get(s); if (!(ts instanceof TestStepReq)) { throw new RuntimeException("Invalid type:" + ts.getClass().getName() + " for " + s); } } sb.append('"'); sb.append(s); sb.append('"'); sb.append(':'); if (!i.hasNext()) { throw new RuntimeException("Need TestStepXMLCmpr tab:"); } c = i.next(); s = ExecutionTool.getCellValue(c); if (s != null) { ts = TestCaseDef.flowTabs.get(s); if (!(ts instanceof TestStepXMLCmpr)) { throw new RuntimeException("Invalid type:" + ts.getClass().getName() + " for " + s); } } s = ts.getVlaues().toString(); s = StringEscapeUtils.escapeJava((s.substring(1, s.length() - 1))); sb.append('"'); sb.append(s); sb.append('"'); sb.append(','); } stringArrays = sb.substring(0, sb.length() - 1); }