title: Working example to start canoo webtest from Groovy?
body: <p>I would like to start a simple webtest from Groovy with Canoo. The example <a href="http://webtest.canoo.com/webtest/manual/groovyTesting.html" rel="nofollow noreferrer">Canoo Example</a> is not working. I think I am missing something with the Antbuilder class. Especially the "config" part, where a HashMap of properties is passed. I have tried different ways to pass properties but my most basic approach:</p>
  
  <p>config_map = ['host':'www.google.com', 'port':'80', 'protocol':'http', 'basepath':'']</p>
  
  <p>They all result in the same error message.  groovy.lang.MissingMethodException: No signature of method: groovy.util.ConfigObject.call() is applicable for argument types: (java.util.LinkedHashMap) values: [[host:www.google.com, port:80, protocol:http, basepath:]]</p>
  
  <p>Alternatively, I was looking at grails, but can not figure out if I can use a grails project to webtest a non-grails application. When I try to copy the classes from Grails, ant hangs itself again on the config line. </p>
  
  <p>Does someone has a place where I could find a working example of a canoo-groovy webtest?</p>