Posts

Showing posts from March, 2014

Geb Browser Automation Quick Start Windows

Image
How to Stand Up a Geb Sample Application in Windows
This guide will show you step-by-step how to setup a simple Geb app to get started using the automated testing framework.  This guide focuses on using the Chrome browser for testing.  Please update chrome to the most recent version available because chromedriver only works with versions 12.0.712.0 and higher.


If you are trying to setup geb on Linux please use the following link instead:

Setting up geb on linux

Pull a copy of the Geb Sample App
 First, pull the Geb sample application from Github:

https://github.com/geb/geb-example-grails


HTTPS Clone URL:
https://github.com/geb/geb-example-grails.git



Ensure you have Chrome.exe installed in the expected location
OSExpected Location of Chrome executable Linux/usr/bin/google-chrome1Mac/Applications/Google\ Chrome.app/Contents/MacOS/Google\ ChromeWindows XP%HOMEPATH%\Local Settings\Application Data\Google\Chrome\Application\chrome.exeWindows VistaC:\Users\%USERNAME%\AppData\Local\Google\Chrome\Ap…

Run Forked Tests in Grails on IntelliJ IDEA

Image
How to resolve issues with Running Forked Tests in Grails on IntelliJ IDEA
When trying to run test-app on a Grails project in Intellij you may see a error similar to the following:

|ErrorError running forked test-app:Couldnot load grails build listener class java.lang.RuntimeException:Couldnot load grails build listener class at org.codehaus.groovy.grails.cli.support.GrailsBuildEventListener.addGrailsBuildListener(GrailsBuildEventListener.java:258) at org.codehaus.groovy.grails.cli