【问题标题】:problems running qooxdoo simulation-run job运行 qooxdoo 模拟运行作业的问题
【发布时间】:2012-10-14 11:17:16
【问题描述】:

我正在尝试使用 qooxdoo 模拟运行作业进行这个简单的测试(当然更改了类命名空间):

qx.Class.define("twitter.simulation.Settings", {

   extend : simulator.unit.TestCase,

   members :
   {
       testChangeLanguage : function()
           {
                this.fail("Test not implemented!");
           }
   }
});

但是,每次我尝试运行它时,都会收到这个非常神秘的错误:

js: 未捕获的 JavaScript 运行时异常:TypeError: org.mozilla.javascript.Undefined@275b35 不是函数,它是 org.mozilla.javascript.Undefined。

我将 Rhino 1.7R4 用于 Javascript 引擎。 Selenium 版本是 2.25,qooxdoo 是 2.0.2。这是模拟运行的作业配置:

"simulation-run" :
{
  "let" :
  {
    "SIMULATOR_CLASSPATH" : 
    [
      "../selenium/selenium-java-2.25.0.jar",
      "../selenium/libs/*",
      "../rhino/js.jar"
    ]
  },

  "environment" :
  {
    "simulator.selServer"   : "localhost",
    "simulator.selPort"     : 4444,
    "simulator.testBrowser" : "*firefox",
    "simulator.autHost"     : "http://localhost:8080",
    "simulator.autPath"     : "/application/index.html"
  }
}

【问题讨论】:

  • 您使用的是哪个版本的 qooxdoo 和 Selenium,您的模拟运行作业配置是什么样的?
  • 我已经编辑了原始问题。
  • qooxdoo 不支持 Rhino 1.7R4,请改用 1.7R3

标签: qooxdoo


【解决方案1】:

您需要使用 1.x Selenium 客户端驱动程序。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-09-28
    • 2012-01-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多