【问题标题】:Issue with selenium IDE, "[error] testCase.debugContext.currentCommand() is undefined"selenium IDE 出现问题,“[error] testCase.debugContext.currentCommand() 未定义”
【发布时间】:2013-03-27 16:19:21
【问题描述】:

我在未更改的脚本中看到此错误 - 但 Selenium 版本已更改。该错误发生在成功执行 10 次以上的 EndWhile 循环中。我遇到了这个错误。

[error] testCase.debugContext.currentCommand() is undefined
[error] Unexpected Exception: fileName -> chrome://selenium-ide/content/selenium-runner.js, lineNumber -> 157 

收到这些错误后,Selenium 挂起,我必须关闭并重新打开。

有没有办法解决这个错误?或以任何方式使此错误不再面临。请帮忙。

【问题讨论】:

  • 您的错误与此错误有关吗? code.google.com/p/selenium/issues/detail?id=4335
  • 听起来这是您用于此 endwhile 循环的插件的问题。我会重新考虑你需要这个循环,如果你确实需要它,应该考虑超越 selenium IDE。

标签: selenium ide selenium-ide user-extensions.js


【解决方案1】:

这种情况在 Firefox 36.0.4 和没有任何插件的 vanilla Selenium IDE 中不断发生。

您可能需要下载与当前 Selenium 版本兼容的早期版本的 Firefox。

【讨论】:

  • 你的意思是这是一个兼容性问题?有什么资料可以证明你的观点吗?
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2014-05-30
  • 1970-01-01
  • 2013-04-19
  • 2012-02-05
  • 2015-12-23
  • 2013-03-26
  • 1970-01-01
相关资源
最近更新 更多