I am newbie with Selenium Grid therefore any help in this regard is much appreciated.
I am using following version of selenium server:
selenium-server-standalone-2.20.0.jar
I’ve successfully manged to initialize the hub by entering this into cmd line:
java -jar selenium-server-standalone-2.20.0.jar -role hub
I have also managed to register a node on my physical machine by executing the following command line:
java -jar selenium-server-standalone-2.20.0.jar -role webdriver -hub http://localhost:4444/grid/register -browser browserName=iexplore,platform=WINDOWS -port 5556
I’ve verified the above by going to http://localhost:4444/grid/console and can see that node has successfully been registered to port 5556.
Now as next step, I am trying to register another node on Windows7 virtual machine(ip address=10.0.0.79) by running the following in cmd line:
java -jar selenium-server-standalone-2.20.0.jar -role webdriver -hub http://10.0.0.79:4444/grid/register -browser browserName=iexplore,platform=WINDOWS
unfortunately the above cmd doesn’t register my request and I get the error: couldn’t rgister this node : hub down or not responding
I would be grateful if someone can please tell me what I am doing wrong.
Cheers
10.0.0.79 is the IP of your node, not the Hub right? The Hub is running outside the VM (with a different IP)
In your last command you let it point to a hub on 10.0.0.79