i have a selenium grid2 hub running and 2 nodes attached (node a and node b) . How do i use them? How do i run test on more then one node at a time? i have the feeling i am missing something obvious.
if have tried this:
phpunit tests/phpunit/GUI/
there a 2 test cases (RegTest, LoginTest) both a executed (in sequence) but only on one node. (node a) the second node is not touched once.
what am i missing?
node a (ubuntu) java -jar selenium-server-standalone-2.18.0.jar -role node -hub http://localhost:4444/grid/register node b (xp) java -jar selenium-server-standalone-2.18.0.jar -role node -hub http://localhost:4444/grid/register
both nodes have firefox installed. i am connecting to the hub using this call:
$this->oWebDriver = new WebDriver( self::SELENIUM_SERVER, self::SELENIUM_SERVER_PORT);
$this->oWebDriver->connect('firefox');
this php webdriver: http://code.google.com/p/php-webdriver-bindings/