Re: Deploying Selenium IDE exports (JUnit 4 [Webdriver]) to Selenium Grid for parallel tests

Posted by softwaretestingforum on
URL: http://manual-and-automated-testing.232.s1.nabble.com/Deploying-Selenium-IDE-exports-JUnit-4-Webdriver-to-Selenium-Grid-for-parallel-tests-tp4932235p4945313.html

Having set up hub, you need to direct your test to use hub mechanism as described here - http://code.google.com/p/selenium/wiki/Grid2

Refer section - Using grid to run tests, which describes -

Since you are on Selenium 1, you should use -

Selenium selenium = new DefaultSelenium(“localhost”, 4444, “*firefox”, “http://www.google.com”);

here localhost and 4444 are hub URL and port.

About the error available in your gist, it is null pointer exception from line -
selenium.open("/");
Have you instantiated selenium object before using it?
~ seleniumtests.com