Hi Stephen,

have a look at 
http://webtest.canoo.com/webtest/manual/samples.html

If you follow the standard setup you can just drop your file
into the includes dir and reference it like
&login;
WebTest takes care of making this file and the &login; entity
known to the DTD.

Why would you ever want to reference such an XML file from 
Groovy?

cheers
Dierk

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Stephen de Vries
> Sent: Freitag, 2. November 2007 14:58
> To: [email protected]
> Subject: [Webtest] Calling modules from groovy
> 
> 
> 
> How does one call a predefined module from within groovy?  For  
> example, I've defined the file login.xml which contains:
> 
> <invoke
>    description="goto login page"
>    url="#{start.page}" />
> 
> How should I execute this module from within a groovy script block?
> 
> regards,
> Stephen
> 
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to