Ebo
Ebo

Reputation: 21

Running Selenium Suites on a Selenium Grid

Does anyone know how to run a selenium test suite from a selenium grid.

I know you can do it programatically with a single test, but I was wondering if there was an easy way to do it with a full test suite.

Something like java -jar selenium-server.jar -host -htmlSuite .

Thanks for the help.

Upvotes: 2

Views: 4127

Answers (2)

nirvdrum
nirvdrum

Reputation: 2319

No. Selenium Grid is a facility for Selenium RC users to run their tests across a variety of machines with fine-grained configurations (e.g., a particular version of a browser). As far as I know, there's no ability to specify that in the htmlSuite. If there were, you might be able to make it work. But running just a suite like this is not supported and likely never will be because that's not what it was designed for.

Upvotes: 1

Mike Kwan
Mike Kwan

Reputation: 24447

This page will help you a lot. It demonstrates how to set up a hub and nodes which connect to it registering their 'configurations' (what browsers/'capabilities' they have). And the last piece of the jigsaw which is having code programmatically connect to the hub and run tests on it (the hub will forward stuff to a relevant node so the tests get performed there).

Upvotes: 1

Related Questions