提交 1e129605 authored 作者: 黄承天's avatar 黄承天

[fix]

params空指针异常
上级 b872fcb9
......@@ -20,7 +20,6 @@ import org.springframework.stereotype.Service;
import java.util.*;
import static com.alibaba.fastjson.JSON.parseArray;
import static com.alibaba.fastjson.JSON.toJSONString;
import static com.zjty.autotest.common.action.CommandType.*;
import static com.zjty.autotest.common.action.InputType.COOKIES;
......@@ -97,7 +96,7 @@ public class SeleniumExecutor {
projectId = testCase.getProjectId();
testId = testCase.getId();
name = testCase.getName();
this.params = params;
this.params.addAll(params);
List<Command> commands = testCase.getCommands();
total = commands.size();
//根据浏览器 获取driver
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论