« Return to Thread: Selenium 0.4 with Grails 1.0.3?

SV: Selenium 0.4 with Grails 1.0.3?

by Michael Berg-6 :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
Well, looking at the release notes for http://www.javathinking.com/?p=81, and in particular the comments below, one can read the following:
 
--------------------------------------------------
Gerd, I think I know the problem - I have been using a slightly modified version of grails - see here http://jira.codehaus.org/browse/GRAILS-2534
 
This modification defines appContext in Init.groovy and allows you to define a custom context path in several ways. Hopefully this will make it into the next release of grails.
 
I’m sorry for the confusion - I’d completely forgotten about this dependency. If you don’t want to apply the complete patch, then adding
 
appContext=grailsAppName
 
to /scripts/Init.groovy at approx line 113, just before
 
configSlurper = new ConfigSlurper(grailsEnv)
 
might get it working for now.
-------------------------------------------------------
 
I guess that explains it. The developer is assuming we all are using a "slightly modified version of grails". Great.
 
/Mike


Fra: Erik Slagter [mailto:erik.slagter@...]
Sendt: 16. juli 2008 13:33
Til: user@...
Emne: RE: [grails-user] Selenium 0.4 with Grails 1.0.3?

I reported the same problem last week. Nobody responded….

Van: Michael Berg [mailto:michael.berg@...]
Verzonden: woensdag 16 juli 2008 13:11
Aan: user@...
Onderwerp: [grails-user] Selenium 0.4 with Grails 1.0.3?

 

Hi all,

 

Is there a problem with selenium 0.4 with Grails 1.0.3?

 

I'm following the short tutorial on http://grails.org/Selenium+plugin, but it does not appear to be possible to create tests:

 

C:\selenium-test\> grails create-selenium-test mytest.gsp

(...usual blabla from Grails...)

Could not execute method appContext.
No such property: appContext for class: CreateSeleniumTest_groovy

 

Anyone have an idea what might be wrong?

 

/Mike

 

 

 « Return to Thread: Selenium 0.4 with Grails 1.0.3?