Jean, I've been having the same issue..... I actually posted to the
group twice but got no response.... basically I've found that the data
driven feature does not function when expressed in Groovy, but does
function when expressed in xml. Conversely, all my ajax requests fail
when expressed in xml but work correctly when expressed in groovy. So
I basically can't use either!
I've tried everything under the sun...... ensuring latest code, latest
htmlunit.... I've looked at every piece of documentation on the canoo
site and have gone through several, several forums....
but to no avail.
I got no responses so just gave up....... the plan is to now maybe move
to a Selenium solution.......
Hanif
On 12/07/2010 2:45 PM, [email protected] wrote:
Hi,
I have been using webtest for a few weeks now. The more I use it, the
more I like it. Now as I explore new features, I have bumped in a
problem I can't seem to resolve.
I am writing my tests in groovy, and store each test classes under my
project's /tests directory. Every test executes as advertised, except
I can't get a handle on the AntBuilder/WebTestBuilder. I read that
within the step I could have called directly ant.step, or
getAnt().step, both of them returned were null.
Am I doing something wrong? Being unable to access the ant/step
prevents me to use the data driven feature, plus I can't retrieve
stored variables in previous steps.
Thanks for all the help you can provide,
Regards,
JS.