Mart Toom wrote:
>>
>> ??
>> should not be the case. Did you save as UTF-8 with BOM?
>
> Yes, it is saved in UTF-8. At least Eclipse states that Byte Order Mark
> is UTF-8(BOM).
> When I added comment to first row, properties started to work.
if you save it as UTF-8 without BOM the first line could be considered too.
>
>>> ...
>>> PS! It seems that ant properties cannot be used inside step <testInfo>.
>>> The property value still wasn't resolved there while it worked quite ok
>>> inside other steps.
>>
>> I don't see any reason for that either unless you use a very old version
>> of WebTest (but as far as I remember, testInfo didn't exist at that
>> time): if an <echo message="${myProp}"/> works properly then <testInfo
>> type="${myProp}"/> should work too.
>
>
> that's the thing.
> <echo message="${myProp}"/> works ok and step <setInputField> works ok,
> but in <testInfo type="test"> ${myProp}</testInfo> it doesn't work.
>
> And now just tested and found that it works if <testInfo> is used like
> this: <testInfo type="test" description="${myProp}"/>
<testInfo type="test">${myProp}</testInfo>
should be equivalant to:
<testInfo type="test" info="${myProp}"/>
Cheers,
Marc.
--
Blog: http://mguillem.wordpress.com
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest