代码之家  ›  专栏  ›  技术社区  ›  Adrian Grigore

通过命令行设置Selenium RC速度

  •  3
  • Adrian Grigore  · 技术社区  · 15 年前

    I'm using SeleniumRC to run some selense tests via command line. This works mostly fine, but some tests are failing because the execution speed is too high. How can I set the test runner's default execution speed?

    我使用的运行测试套件的命令是

    爪哇瓶 selenium-rc\selenium-server-1.0.3\selenium-server.jar -端口5561-htmlsuite“*firefox”“myrootpath”“pathtomytestsuite” “路径结果”

    谢谢你的帮助。

    阿德里安

    1 回复  |  直到 15 年前
        1
  •  2
  •   Adrian Grigore    15 年前

    As fiirhok kindly pointed out, the solution is simply to add setSpeed at the beginning of the test. I can't believe I missed this...