Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7513755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:17:01+00:00 2026-05-30T00:17:01+00:00

i have a selenium grid2 hub running and 2 nodes attached (node a and

  • 0

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/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:17:03+00:00Added an answer on May 30, 2026 at 12:17 am

    so here we are 2 weeks later. With some extended reading and more brainpower i was able to figure it out for myself.

    you can easily use more then one node starting more then one phpunit test at a time. Problem is phpunit tests (3.6) are pretty much running one after another.
    You can use ant (or similar tools) to bypass this problem. As you can see here:
    http://jenkins-php.org/

    you may use <parallel threadCount="2"> to start parallel tasks , which could be phpunit tests. Still there is the possibilty that not every test is suited to run parallel (e.g if you are loading fixtures into your database in the setUp method)

    besides this there is no way (at least i could not found any) to address a particular node over the hub (maybe thats not sense of a hub) but you can use the Capabilities to address sepecif platforms or browser or browser version

    if the hub cant find anything that suits your Capabilities it will return an error else it will use one of the browsers thats suits your descriped Capabilities

    problem here is that platform is an ENUM field and you have to use it limited values to describe your noced (LINUX, MAX, VISTA, WINDOWS, XP) there is no W7 , and WINDOWS is very greedy. If you have a 2 nodes one with XP and one with WINDOWS and you set WINDOWS in your Capabilities there is a chance the hub will pick XP (as it is a WINDOWS platform) so be aware of that.

    .. i think thats all i would have asked for 2 weeks ago (- ;

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have selenium grid 2 hub running on one server. I start up another
I have Selenium running under Cruise Control to test our site once a day.
I have a test suite DLL written in C# that uses Selenium.This is then
I have a problem running Selenium IDE over one of my AJAX pages. There
I have a selenium test that I am trying to get up and running
I have a Selenium test case that enters dates into a date selector made
I just wanted some opinions from people that have run Selenium ( http://selenium.openqa.org )
I have recorded a very simple test case Using the Selenium IDE integrated with
We are using Junit + Selenium to webtest our webpage. But we have run
We have the following set up for running parallel tests using selenium grid and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.