Groovy, selenium-java and cucumber-java starter pack

Groovy, selenium-java and cucumber-java starter pack

Back to Groovy for testers

I spent a lot of time and effort to get Selenium and Cucumber to work well with Groovy. Instead of a tutorial, I provide a sample Eclipse project you can download to get you started. Download the zipped project here.

It uses Selenium 2, the 32-bit Windows version of the IEDriverServer, and tests are for IE. This is a starting point and will get you working. Run as ... JUnit Test in Eclipse. I would also like to use the latest versions of all the tools but this works for me for now. Messing with the jar versions will cause you heart ache, even if you know what you are doing. If you know how to upgrade all the tools and still have it run, please tell me.

Tools you'll need: Eclipse with the groovy-eclipse and cucumber-eclipse plugins. The Cucumber plugin doesn't currently support Groovy steps, but one remains hopeful.

© 2001-2019