Hi folks,
I have a test.groovy code, there is a line
Def basedir = step.getWebtestProperty('basehome.dir').
In my buildtest.xml file
<target name="test">
<property name="basehome.dir" value="C:\test"/>
<webtest name="test"> &config; <steps>
step.setWebtestProperty('basehome.dir').
<groovy description=" test "
file="test.groovy"/>
</steps>
</webtest>
My purpose is to retrieve path info from buildtest.xml in groovy code.
But I println(basedir) is null, which means it doesn't get path info
from xml file.
Please let me know how to solve this issue? Thank you
cwang
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest