Hi
Hope this helps for starters .
I found a better way and picked up the test framework from Grails and
that works better.
There was also a message from Marc saying build 1702+ includes groovy
tests in the selfTest.war . I have not taken a look
Regards
Hari
ant.webtest(name:'groovy: Test Groovy Scripting at creation time'){
config(config_map)
steps(){
login(ant)
println('Finished tests ')
}
}
...
login(ant) {
ant.invoke(url:'https://xyz/abc.')
ant.setInputField(name: "xx", value: "t50")
ant.setInputField(name: "yy", value: "junk123")
ant.clickButton(name: "zz")
ant.verifyText(text: "AA")
}
On Tue, May 13, 2008 at 7:23 PM, Jozef Dransfield <[EMAIL PROTECTED]>
wrote:
> Sorry i forgot to mention its a test written in Groovy
>
> On Tuesday, May 13, 2008, at 06:45AM, "Jozef Dransfield" <
> [EMAIL PROTECTED]> wrote:
> >Im sure this is very simple but i cant seem to find the doc that tells me
> how to include a sequence in a test.
> >
> >Like a login sequence before i go and do my real test?
> >
> >Anyone can point me in the right direction?
> >_______________________________________________
> >WebTest mailing list
> >[email protected]
> >http://lists.canoo.com/mailman/listinfo/webtest
> >
> >
> _______________________________________________
> WebTest mailing list
> [email protected]
> http://lists.canoo.com/mailman/listinfo/webtest
>