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.. :)

    评论

报告相同问题?

悬赏问题

  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画