我使用Selenium RC进行测试.现在要执行负载测试,我想运行并行测试用例.有没有办法在不打开浏览器的情况下运行它们?
我在运行Internet Explorer 9的selenium脚本时遇到此错误.
Exception in thread "main" org.openqa.selenium.WebDriverException: Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones. (WARNING: The server did not provide any stacktrace information); duration or timeout: 193 milliseconds
Run Code Online (Sandbox Code Playgroud) "调用过程映像中的atexit()注册的函数未在新过程映像中注册".
这是代码:
pid = fork();
if (pid == 0) {
atexit(check_mem);
return execv(...);
}
Run Code Online (Sandbox Code Playgroud)
在execv()之后没有调用check_mem函数.因为上面的"线".在execv调用后得到函数的任何hacks?
在此先感谢您的帮助.