Ugh
I did not quite follow you, are you are not using which Robot
Framework library: Selenium2Library or SeleniumLibrary. But anyway.
If you are using Selenium2Library, then Grid2 (1) is for you,
because Selenium2Library is based on the Selenium
Webdirver/Selenium2 (2). The SeleniumLibrary is based based on the
Selenium Remote Server (3) and war as I know both are replaced by
the newer implementations.
For the SeleniumLibrary and Grid, I do not have any experience. For
this setup, you need seek help from someone else.
For Selenium2Library/Grid2 setup, I remember doing it for some time
ago, mainly to our CI to launch smoke test for our product.
Unfortunately I do not have any clear recollection , but by looking
the documentation (1) remember doing it about the same way. Only
thing that would require more/better documentation on
Selenium2Library is the Open Browser (4) keyword are the remote_url
and desired_capabilities arguments. But for me it came quite clear,
when I did read the corresponding documentation Selenium (5)
documentation.
I am at home, but out of my memory, I would ques that my Open
Browser keyword would look something like this:
Open Browser url=
www.my.sut.url.com
remote_url=
http://localhost:4444/wd/hub desired_capabilities=
browserName:${BROWSER},platform:${PLATFORM}
The ${BROWSER} and ${PLATFORM} variables are set from command line,
usually with chrome/firefox and linux/windows. Also I had the hub
running in our CI, so pointing localhost was easy for me, but I
think one can place the hub on any machine they would desire.
-Tatu
PS. Now days we live purely on Linux world, so we do not actually
need the platform key.
(1)
http://code.google.com/p/selenium/wiki/Grid2
(2)
http://docs.seleniumhq.org/projects/webdriver/
(3)
http://docs.seleniumhq.org/projects/remote-control/
(4)
http://rtomac.github.io/robotframework-selenium2library/doc/Selenium2Library.html#Open%20Browser
(5)
http://code.google.com/p/selenium/wiki/DesiredCapabilities