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 OS Expected Location of Chrome executable  Linux /usr/bin/google-chrome 1 Mac /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome Windows XP %HOMEPATH%\Local Settings\Application Data\Google\Chrome\A...

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: | Error Error running forked test - app : Could not load grails build listener class java . lang . RuntimeException : Could not load grails build listener class at org . codehaus . groovy . grails . cli . support . GrailsBuildEventListener . addGrailsBuildListener ( GrailsBuildEventListener . java : 258 ) at org . codehaus . groovy . grails . cli . support . GrailsBuildEventListener . loadGrailsBuildListeners ( GrailsBuildEventListener . java : 106 ) at org . codehaus . groovy . grails . cli . support . GrailsBuildEventListener . initialize ( GrailsBuildEventListener . java : 73 ) at org . codehaus . groovy . grails . cli . fork . ForkedGrailsProjectClassExecutor . createEventListener ( ForkedGrailsProjectClassExecutor . groovy : 102 ) at org . codehaus . groo...