WebTest version is R_1660
Marc Guillemot wrote:
Mart Toom wrote:
3) property file should start with comment row
#propertyName=propertyValue
(if doesn't start with comment row, then questionmark will be added
somehow in front of property name (?propertyName) and property value is
not resolved)
??
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.
...
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}"/>
Mart
Cheers,
Marc.
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest