Forum Discussion

Philippe_Lebacq's avatar
Philippe_Lebacq
Contributor
15 years ago

boolean property

Hi
I'm trying to insert parameters in my xml requests in a testcase.
A testcase property RandomN3 with value ${=(int) (Math.random() * 1000)} works fine to generate a random 3 digit number in xml request such as <aNr>PLB${#TestCase#RandomN3}</aNr>

How can I code this testcase property to have a valid true/false in a boolean tag such as <xsd:skipTF>true</xsd:skipTF>

I tried variants of true, true(), boolean(1), 0 & 1 without success ...

Philippe.
No RepliesBe the first to reply