Selenium Grid + Selenium RC
上一篇 /
下一篇 2010-01-15 13:52:32
/ 个人分类:Selenium
Reference URL:
http://stackoverflow.com/questions/1944209/setup-for-ie6-and-multiple-browsers-in-selenium-grid
http://selenium-grid.seleniumhq.org/faq.html
Body:
1. Installation:
http://selenium-grid.seleniumhq.org/step_by_step_installation_instructions_for_windows.html
2.Run the demo
http://selenium-grid.seleniumhq.org/run_the_demo.html
3.Running the Tests in Parallel on Multiple Machines
Notes:
- 在所有的机器(比如GRID机,RC机)上,都必须要安装ANT和SELENIUM GRID
- 必须在GRID机上先启动 ant-hub,然后再在其它的机器上启动RC,这样在localhost:4444/console中,你才能看到available remote control的信息.
- 如果在某台机器上想用某种浏览器(e.g.safari)进行测试,那在在这台机器上,必须将支持此浏览器的RC启动起来,格式如下:ant -Dport=5556 -Dhost=192.168.1.4 -DhubURL=http://192.168.1.70:4444 -Denvironment="Safari on Windows" launch-remote-control
4.Running the Demo Using a Different Browser
In the demo, firefox is the default browser, if you want to run the demo with the Safari
web browser, you need to follow the below steps:
- Launch a remote control(in the other machine or in the same machine) declaring that it provides the Safari environment:
ant -Dport= -Dhost= -DhubURL= -Denvironment="*safari" launch-remote-control
- Launch the other remote controls the same way:
- Launch the demo overriding the browser system property:
ant -Dbrowser="*safari" run-demo-in-parallel
收藏
举报
TAG: