Selenium-Grid Windows下的安装

Selenium Grid官方定义是:

Selenium Grid is a tool that dramatically speeds up functional testing of web-apps by leveraging your existing computing infrastructure. It allows you to easily run multiple tests in parallel, on multiple machines, in an heterogeneous enviroment. 

Selenium Grid是一种可以显著提高Web应用功能测试的工具,他会帮你改进已有的测试架构,让你更容易的在各种各样的环境下分布式并行运行测试用例。

借助java,SeleniumGrid可以在任何机器上跑,所以我们的Selenium Grid是需要java环境的,下面是他的要求:

 安装好后(安装过程就不多说了),如下就可以来大概搭一个环境:

  • ant launch-hub启动服务器,然后在

    http://127.0.0.1:4444/console 就可以看到你的服务了。

  • ant -Dport="5555" –Dhost=127.0.0.1 -DhubURL=http://127.0.0.1:4444 -Denvironment="*iexplore" -DseleniumArgs="-multiWindow"  launch-remote-control 运行一个客户端,可以通过端口号不同在一台机器上运行多个客户端

  • 加载脚本运行。

感谢您关注我的个人博客!
为了您的更好的阅读和留言,建议您注册用户,这样您可以获得更大的权限,以及更方便的留言。
注册只需要一分钟的时间。但是您需要提供您的邮箱。注册后,密码会自动发到您的邮箱,请在第一次登录时修改。
我承诺不会将您的Email泄露给他人,或者发送垃圾邮件。

用户登录

我的微博

feedsky
抓虾
google reader
my yahoo
newsgator
bloglines
鲜果
哪吒
有道
QQ邮箱
九点
帮看