Commit ac83e787 by shuai

2018-10-24线上

parent 653e07bb
...@@ -77,20 +77,20 @@ public class APITest extends XYZB{ ...@@ -77,20 +77,20 @@ public class APITest extends XYZB{
//数据回写 //数据回写
HashMap<String, Object> ExpectResult=MapUtil.Expect(data); // HashMap<String, Object> ExpectResult=MapUtil.Expect(data);
SheetUtils sheet = new SheetUtils("DataAll.xls", "Output"); // SheetUtils sheet = new SheetUtils("DataAll.xls", "Output");
sheet.writeExcel( // sheet.writeExcel(
data.get("NO").toString(), // data.get("NO").toString(),
data.get("TCNO").toString() + "_Step" + data.get("Step").toString(), // data.get("TCNO").toString() + "_Step" + data.get("Step").toString(),
data.get("Description").toString(), // data.get("Description").toString(),
parameter, // parameter,
JSONObject.fromObject(ExpectResult).toString(), // JSONObject.fromObject(ExpectResult).toString(),
StringUtils.decodeUnicode(re.asString()), // StringUtils.decodeUnicode(re.asString()),
codeORerrcode, // codeORerrcode,
msgORerrmsy, // msgORerrmsy,
result, // result,
time // time
); // );
if(result.indexOf("Fail")!=-1){ if(result.indexOf("Fail")!=-1){
String Expect1=data.get("code")==null?"":data.get("code").toString(); String Expect1=data.get("code")==null?"":data.get("code").toString();
String Expect2=data.get("msg")==null?"":data.get("msg").toString(); String Expect2=data.get("msg")==null?"":data.get("msg").toString();
......
xls=DataAll.xls xls=DataAll.xls
sheet=TestCase2 sheet=TestCase2
mysql_local_Online=local mysql_local_Online=Online
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment