增加打印赋值变量的日志

This commit is contained in:
seagull 2017-12-18 18:31:56 +08:00
parent e837209357
commit 979c630e8f
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,8 @@ public class ThreadForExecuteCase extends Thread {
String temptestnote = InvokeMethod.callCase(packagename, functionname, getParameterValues,
steps.get(i).getSteptype(), steps.get(i).getAction());
// 用例参数与公共参数冲突优先用例参数自动替换
variable.put(expectedResultVariable, temptestnote);
variable.put(expectedResultVariable, temptestnote);
luckyclient.publicclass.LogUtil.APP.info("用例:" + testcaseob.getSign() + "" + (i + 1) + "步将测试结果【"+temptestnote+"】赋值给变量【"+expectedResultVariable+"");
} else if (expectedresults.length() > 2 && expectedresults.substring(0, 2).indexOf("%=") > -1) {
// 把预期结果与测试结果做模糊匹配
testnote = InvokeMethod.callCase(packagename, functionname, getParameterValues,