Home > Uncategorized > What is Selenium Grid

What is Selenium Grid

Selenium Grid is an open source tool which helps in web testing. It is something that uses Selenium tool at its core but provides few enhancements which makes it one of the best open source web testing tool out there in the market. Its capabilities include:

  1. Allows to run multiple tests in parallel and there by reduce the test time
  2. These multiple tests can be run against different browsers. So all you need to do is write one script change few config values and you can run your tests in different browsers.
  3. Allows to run tests on different OS platforms. Just like how you can run on different browsers you can run on multiple operating systems too

As with any test automation tool, there are limitations for grid too. To list out a few,

  • It has selenium at its core. So all limitations that apply for Selenium applies for grid too
  • Selenium grid by itself cannot run multiple tests in parallel. We need to use something like testNG or JUnit to provide multiple tests to the grid

You can find more about grid, and how to run the grid here http://selenium-grid.seleniumhq.org/

Categories: Uncategorized
  1. November 23, 2013 at 4:04 pm

    Jul 19, 2012 10:10:39 AM org.openqa.grid.selenium.GridLauncher main INFO: Launching a selenium grid node org.openqa.grid.common.exception.GridConfigurationException: You need to specify a hub to register to using -hubHost X -hubPort 5555. The specified config was -hubHost null -hubPort 4444 at org.openqa.grid.common.RegistrationRequest.validate(RegistrationRequest.java:610) at org.openqa.grid.internal.utils.SelfRegisteringRemote.startRemoteServer(SelfRegisteringRemote.java:88) at org.openqa.grid.selenium.GridLauncher.main(GridLauncher.java:72) Error building the config :You need to specify a hub to register to using -hubHost X -hubPort 5555. The specified config was -hubHost null -hubPort 4444 Usage : -hubConfig: (hub) a JSON file following grid2 format. -nodeTimeout: (node) <XXXX> the timeout in seconds before the hub automatically ends a test that hasn’t had aby activity than XX sec.The browser will be released for another test to use.This typically takes care of the client crashes.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: