2017-01-26 27 views
1

我在AngularJS 1和Selenium IDE 2.9.1上有一个SPA用于功能测试。硒IDE。在单击命令时,跨进程JS调用失败

在窗体上有onclick处理程序的按钮。 当我运行一些具有消息的测试场景崩溃的点击命令这个按钮:

[error] Unexpected Exception: Error: cross-process JS call faild. 

但SPA适当反应,并做它需要做的。

下一个测试通过正确,除了一个。所以,我没有green light

如何处理此点击行为?或者我做错了什么?

即使我通过与代码13的按键叫这个按钮我有同样的情况

· [info] Executing: |keyPress | css=button | \13 | 

· [debug] Command found, going to execute keyPress 

· [debug] modifyWindow seleniumMarker1485501036924:selenium1485501041612 

· [debug] _getFrameElement: frameElement=null 

· [debug] modifySeparateTestWindowToDetectPageLoads: already polling this window: selenium1485501041612 

· [debug] getCurrentWindow newPageLoaded = false 

· [error] Unexpected Exception: Error: cross-process JS call failed. 

· [debug] commandError 

· [debug] testComplete: failed=true 

· [info] Test case failed 

回答