Getting a 404 Not Found while trying to access "http://selenium-grid.seleniumhq.org/get_started.html"

257 views
Skip to first unread message

Raja Sekhar Reddy Pesaladinne

unread,
Oct 7, 2013, 9:29:48 AM10/7/13
to robotframe...@googlegroups.com
Hello,

I'm experiencing a 404 Not Found (below 'nginx/1.4.1') while trying to access "http://selenium-grid.seleniumhq.org/get_started.html".
Please have a look at this error and let me know when this can be fixed

Currently i'm in need of setting up Grid for executing tests in parallel on multiple browsers.

If the link doesn't open, could anyone suggest how to proceed in setting up SeleniumGrid 2 with RF using Selenium2Library.

Thanks
Raj

Raja Sekhar Reddy Pesaladinne

unread,
Oct 7, 2013, 9:35:28 AM10/7/13
to robotframe...@googlegroups.com

Tatu Aalto

unread,
Oct 7, 2013, 10:01:27 AM10/7/13
to robotframe...@googlegroups.com
Ugh

The document that you are referring in the picture SeleniumLibrary, which is different you mention: Selenium2Library. The SeleniumLibrary is not anymore maintained and most likely the links are out of date. The Selenium2Library documentation is in github (1). I would assume that you are looking this documentation (2).

-Tatu
(1) https://github.com/rtomac/robotframework-selenium2library
(2) http://code.google.com/p/selenium/wiki/Grid2
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/groups/opt_out.

Kevin O.

unread,
Oct 7, 2013, 11:24:48 AM10/7/13
to robotframe...@googlegroups.com

Raja Sekhar Reddy Pesaladinne

unread,
Oct 7, 2013, 1:33:37 PM10/7/13
to robotframe...@googlegroups.com
Hi Tatu,

I appreciate your quick response in this regard, but I'm not looking at what you were referring to though. RF setup is ready in my machine and also i'm done with scripts.
Now, i want to execute them on multiple browsers using Selenium Grid.

The Grid2 link below refers to RC, but i need Webdriver Configuration with Grid2.

Thanks
Raj


On Monday, 7 October 2013 19:31:27 UTC+5:30, Tatu Aalto wrote:
Ugh

The document that you are referring in the picture SeleniumLibrary, which is different you mention: Selenium2Library. The SeleniumLibrary is not anymore maintained and most likely the links are out of date. The Selenium2Library documentation is in github (1). I would assume that you are looking this documentation (2).

-Tatu
(1) https://github.com/rtomac/robotframework-selenium2library
(2) http://code.google.com/p/selenium/wiki/Grid2

On 7.10.2013 16:35, Raja Sekhar Reddy Pesaladinne wrote:



On Monday, 7 October 2013 18:59:48 UTC+5:30, Raja Sekhar Reddy Pesaladinne wrote:
Hello,

I'm experiencing a 404 Not Found (below 'nginx/1.4.1') while trying to access "http://selenium-grid.seleniumhq.org/get_started.html".
Please have a look at this error and let me know when this can be fixed

Currently i'm in need of setting up Grid for executing tests in parallel on multiple browsers.

If the link doesn't open, could anyone suggest how to proceed in setting up SeleniumGrid 2 with RF using Selenium2Library.

Thanks
Raj
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

Tatu Aalto

unread,
Oct 7, 2013, 2:20:05 PM10/7/13
to rajasekh...@gmail.com, robotframe...@googlegroups.com
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
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.

Markus Bernhardt

unread,
Oct 7, 2013, 3:22:46 PM10/7/13
to aalto...@gmail.com, rajasekh...@gmail.com, robotframe...@googlegroups.com
Hi,

if I understand you correctly you want to run your own Selenium 2 Grid. Have you already setup a grid? If not, the following might help:

  • First you need to setup one Grid Hub:

    start "Selenium Grid @ 5500 :: Hub" /i java.exe -cp %CLASSPATH% %* org.openqa.grid.selenium.GridLauncher -role hub -port 5500

  • Then you can start on every machine at least one Grid Node. We are starting a node for every browser type and version:

    start "Selenium Grid @ 5516 :: Node Firefox 16" /i java.exe -cp %CLASSPATH% %* org.openqa.grid.selenium.GridLauncher -role node -hub http://localhost:5500/grid/register -port 5516 -browser browserName=firefox,version=16,maxInstances=5,platform=WINDOWS,firefox_binary=D:\grid\browser\firefox16\firefox.exe,seleniumProtocol=WebDriver -firefoxProfileTemplate D:\grid\node\firefox16\firefox-profile 

    start "Selenium Grid @ 5517 :: Node Firefox 17" /i java.exe -cp %CLASSPATH% %* org.openqa.grid.selenium.GridLauncher -role node -hub http://localhost:5500/grid/register -port 5517 -browser browserName=firefox,version=17,maxInstances=5,platform=WINDOWS,firefox_binary=D:\grid\browser\firefox16\firefox.exe,seleniumProtocol=WebDriver -firefoxProfileTemplate D:\grid\node\firefox17\firefox-profile

  • The you can connect to the grid in RF with:

    Open Browser    url=www.my.sut.url.com    remote_url=http://localhost:5500/wd/hub    desired_capabilities=browserName:firefox,version=17,platform:WINDOWS

Hope that helps somehow as starting point.

Cheers,
Markus

Raja Sekhar Reddy Pesaladinne

unread,
Oct 8, 2013, 7:33:55 AM10/8/13
to robotframe...@googlegroups.com, rajasekh...@gmail.com
Thanks Tatu.....it's working

Open Browser ${URL} ${BROWSER} remote_url=${REMOTE URL} desired_capabilities=browserName:${BROWSER},version:12

In my Pybot scripts, i'm adding different IP's to remote_url, for executing them on various machines independently

Raj

Raja Sekhar Reddy Pesaladinne

unread,
Oct 8, 2013, 7:35:13 AM10/8/13
to robotframe...@googlegroups.com, aalto...@gmail.com, rajasekh...@gmail.com
Thanks Markus for your help.....your suggestions were really helpful in setting up Grid and running scripts on different machines.
Reply all
Reply to author
Forward
0 new messages