Set default rc.host to localhost and rc.port to 5555

This commit is contained in:
Dave Hunt 2011-08-18 17:09:01 +01:00
Родитель 95fd1b04ff
Коммит 1a5f7b4f8f
2 изменённых файлов: 10 добавлений и 8 удалений

Просмотреть файл

@ -59,19 +59,19 @@ example a value of `2.0b3` will load the library
The host of the Selenium RC that you want to register with the Selenium Grid The host of the Selenium RC that you want to register with the Selenium Grid
hub. This is needed so that Selenium Grid can communicate back to the server. hub. This is needed so that Selenium Grid can communicate back to the server.
This property should not be set in `project.properties` because it will differ This defaults to `localhost`, which is fine if the server is on the same machine
for each machine. It's best placed in the `<HOSTNAME>.project.properties` file. as the Selenium Grid hub. If these are on different machines then this property
is best set in `<HOSTNAME>.project.properties` file or on the command line. See
the section on **Launching a Selenium RC server** below for details.
**rc.port** **rc.port**
The port of the Selenium RC that you want to register with the Selenium Grid The port of the Selenium RC that you want to register with the Selenium Grid
hub. Along with the host, this is needed so that Selenium Grid can communicate hub. Along with the host, this is needed so that Selenium Grid can communicate
back to the server. This property should not be set in `project.properties` back to the server. This defaults to `5555`, which is fine for the first server
because it will differ for each machine, and it should also not be set in on a machine, but any subsequent servers need a different port to be specified
`<HOSTNAME>.project.properties` file as you are likely to want to invoke via the command line. See the section on **Launching a Selenium RC server**
multiple servers on each machine. The best way to set this property is via the below for details.
command line. See the section on **Launching a Selenium RC server** below for
details.
**rc.environment** **rc.environment**

Просмотреть файл

@ -4,6 +4,8 @@ hub.host=qa-selenium.mv.mozilla.com
hub.port=4444 hub.port=4444
rc.version=2.0.0 rc.version=2.0.0
rc.host=localhost
rc.port=5555
rc.arguments= rc.arguments=
custom.firefox.profile=certificateExceptions custom.firefox.profile=certificateExceptions