doukang7858 2012-07-23 12:08 采纳率: 0%
浏览 78

selenium服务器超时问题

i have installed selenium IDE and selenium server(selenium RC)...while running the test cases in command prompt using phpunit its saying error like

Invalid response while accessing the Selenium Server at 'http://localhost:4444/selenium-server/driver/': Timed out after 30000ms

i changed in selenium IDE options time out property and while starting the server i gave like

java -jar selenium-server-standalone-2.24.1.jar [-timeout 7000000]

still same issue saying time out 30000ms

it ll be great if any one can help

thanks in advance ........

  • 写回答

1条回答 默认 最新

  • douye4051 2012-07-24 19:58
    关注

    I just saw the phpunit-selenium code and it seems that they do not support selenium-server above 2.23. You should download earlier version of selenium server (2.23 specifically) and run it. It should work according to their READ-ME file.

    Nevertheless I saw that the url they are using to access server i.e.http://localhost:4444/selenium-server/driver/was used by Selenium 1 and not webdriver. So I would rather download much oldr version os selnium from http://release.seleniumhq.org/ and try it.

    One more thing. the right way to define the timeout is java -jar selenium-server-standalone-2.24.1.jar -timeout 7000000 that is, no square brackets.

    Hope this helps.. :)

    评论

报告相同问题?

悬赏问题

  • ¥20 基于MSP430f5529的MPU6050驱动,求出欧拉角
  • ¥20 Java-Oj-桌布的计算
  • ¥15 powerbuilder中的datawindow数据整合到新的DataWindow
  • ¥20 有人知道这种图怎么画吗?
  • ¥15 pyqt6如何引用qrc文件加载里面的的资源
  • ¥15 安卓JNI项目使用lua上的问题
  • ¥20 RL+GNN解决人员排班问题时梯度消失
  • ¥60 要数控稳压电源测试数据
  • ¥15 能帮我写下这个编程吗
  • ¥15 ikuai客户端l2tp协议链接报终止15信号和无法将p.p.p6转换为我的l2tp线路