Daniel Brenner <[EMAIL PROTECTED]> writes: > > Hi! > Thanks a lot for your fast answer. Came across a similiar solution just > a short time after my posting (as usual). I tried using jacaScript but > had one problem. How can I access the static ant properties within the > scriptstep? > I know there are the two methods step.getWebtestPrperty(..) and > step.setWebtestProperty(...) to use the dynamic properties. Is there an > equivalent for static properties?
ant properties are stored in the project. In a script step, you can access the project through step.getProject(). Have a look at ant API for the Project class for the details (you have to donwload ant because the javadoc is not available online). Marc. PS: you can try Groovy instead of JavaScript for your script steps, it is really smarter and more powerfull _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

