1、pom新增lombok
2、webcaseExetion增加By.calssName方法 3、开放web UI自动化测试用例调试功能 4、EncapsulateOperation中增加SwitchToWindow方法 5、优化web端用例步骤导入后执行测试功能 6、新增web窗口设置大小方法
This commit is contained in:
parent
0fcb2f4cfa
commit
9f177655d6
|
@ -27,7 +27,9 @@ public class WebDebugExecute extends TestControl{
|
||||||
PropertyConfigurator.configure(RunService.APPLICATION_HOME + File.separator + "log4j.conf");
|
PropertyConfigurator.configure(RunService.APPLICATION_HOME + File.separator + "log4j.conf");
|
||||||
String caseIdStr = args[0];
|
String caseIdStr = args[0];
|
||||||
String userIdStr = args[1];
|
String userIdStr = args[1];
|
||||||
WebTestCaseDebug.oneCaseDebug(caseIdStr, userIdStr);
|
//修改点
|
||||||
|
String caseTypeStr =args[2];
|
||||||
|
WebTestCaseDebug.oneCaseDebug(caseIdStr, userIdStr,caseTypeStr);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LogUtil.APP.error("启动用例调试主函数出现异常,请检查!",e);
|
LogUtil.APP.error("启动用例调试主函数出现异常,请检查!",e);
|
||||||
} finally{
|
} finally{
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
package luckyclient.execution;
|
||||||
|
|
||||||
|
import luckyclient.execution.httpinterface.TestControl;
|
||||||
|
import luckyclient.execution.httpinterface.WebTestCaseDebug;
|
||||||
|
import luckyclient.utils.LogUtil;
|
||||||
|
import org.apache.log4j.PropertyConfigurator;
|
||||||
|
import springboot.RunService;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
|
||||||
|
public class WebDebugExecuteWeb extends TestControl {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
try {
|
||||||
|
PropertyConfigurator.configure(RunService.APPLICATION_HOME + File.separator + "log4j.conf");
|
||||||
|
String caseIdStr = args[0];
|
||||||
|
String userIdStr = args[1];
|
||||||
|
//修改点
|
||||||
|
String caseTypeStr =args[2];
|
||||||
|
String browserTypeStr =args[3];
|
||||||
|
WebTestCaseDebug.oneCaseDebug(caseIdStr, userIdStr,caseTypeStr,browserTypeStr);
|
||||||
|
} catch (Exception e) {
|
||||||
|
LogUtil.APP.error("启动用例调试主函数出现异常,请检查!",e);
|
||||||
|
} finally{
|
||||||
|
System.exit(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue