Forum Discussion
SmartBear_Suppo
15 years agoSmartBear Alumni (Retired)
Hi!
well.. it's not a bug really, Property Transfers don't expand values of properties they are transferring, and I don't want to change this since it might break someone else code..
What you could do is add a DataGen TestStep to your TestCase containing a property named "xml" of type "Template" and then set the content of that property to ${#TestCase#xml}; in your property-transfer then specify this property as source instead; it will get evaluated as you need (be sure to the the datagen property to mode = READ as well).
I've attached an updated project that shows this.. does that suffice?
regards!
/Ole
eviware.com
well.. it's not a bug really, Property Transfers don't expand values of properties they are transferring, and I don't want to change this since it might break someone else code..
What you could do is add a DataGen TestStep to your TestCase containing a property named "xml" of type "Template" and then set the content of that property to ${#TestCase#xml}; in your property-transfer then specify this property as source instead; it will get evaluated as you need (be sure to the the datagen property to mode = READ as well).
I've attached an updated project that shows this.. does that suffice?
regards!
/Ole
eviware.com