我们正尝试在Windows Server 2016 VM上针对Internet Explorer 11运行自动化测试.可以通过Selenium服务器对VM上的Chrome执行测试,但在IE中失败.
当针对IE运行时,量角器能够启动在IE中打开的Selenium服务器.然后在地址栏中使用'about:blank'启动另一个窗口.这会快速关闭,并在控制台窗口中显示以下错误:
[13:57:18] I/launcher - Running 1 instances of WebDriver
[13:57:18] I/local - Starting selenium standalone server...
[13:57:19] I/local - Selenium standalone server started at http://10.X.X.X:61263/wd/hub
Started
A Jasmine spec timed out. Resetting the WebDriver Control Flow.
Failures:
1) angularjs homepage todo list should add a todo
Message:
Failed: JavaScript error (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: …Run Code Online (Sandbox Code Playgroud)