Hi,

When defining a groovy step in a Grails webtest and referencing the
'context' property, I get an exception:

  groovy.lang.MissingPropertyException: No such property: context for
class: Script1

The code starts like this:


            groovy('''\
def document = context.currentResponse.documentElement
...
''')

Am I misunderstanding how to use the groovy step?

Thanks,

Peter
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to