Posts

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...

How to set up a SQL Server 2008 Local Database

Image
Setting up and Configuring your Microsoft SQL Server 2008 Local Database Download SQL Server Download SQL Server Express.  Express is the Free edition of MS SQL Server http://www.microsoft.com/en-us/download/details.aspx?id=1695 Install your SQL Server Instance Click the Start button -> Click Microsoft SQL Server 2008 -> Click Configuration Tools -> Select SQL Server Installation Center Select Installation -> Select New SQL Server stand-alone installation Select SQL Server stand-alone installation Get your Local SQL Server Service Up and Running Open up the SQL Server Configuration Manager Click the Start button -> Click Microsoft SQL Server 2008 -> Click Configuration Tools -> Select SQL Server Configuration Manager Setup SQL Server Config Manager Start up the SQL Services You want to ensure the following services are in the "Running" State and then you want to set the following services to automatic St...