Hi
On 21 mai 07, at 09:49, Marcel Stör wrote:
If I remove propertyType="ant" or use propertyType="dynamic", <echo
message="${myMenuItemUrl}" /> will print ${myMenuItemUrl} instead
of the real value. Why is that?
See <http://webtest.canoo.com/webtest/manual/properties.html>
You need a hash '#' to access a dynamic property, like:
<echo message="#{myMenuItemUrl}" />
This wouldn't be such a big deal if I only had this one menu item
to check, but - and this is my second question - I want to repeat
the above for each menu item. Of course, in a somewhat dynamic
maner... I'd like to define a collection of myMenuItemText (is part
of my regex above) values and have the above repeated. How to go
about that?
The repeat step <http://webtest.canoo.com/webtest/manual/repeat.html>
may be the simplest solution.
Otherwise, groovy can inject any kind of code inside a webtest ;-)
Happy testing
dna
--
Furthermore, Linux is way behind Windows in its evolution towards
being completely for dummies.
-- Al Stevens, Dr Dobb's Journal, March 2001
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest