Forum Discussion
Alex99
6 years agoContributor
You could use property expansion like this ${#Project#firstname}, basically #Project or TestSuite or TestCase#<propertyname>, see also here click me.
So if the fields are set on the project itself, use it like this:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Header/> <soap:Body> <name>${#Project#firstname} ${#Project#lastname}</name> </soap:Body> </soap:Envelope>
This will result in request looking like this:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Header/> <soap:Body> <name>James Dean</name> </soap:Body> </soap:Envelope>
In groovy script it is slightly more convoluted, as you have to type context.expand('${#Project#firstname}').
Related Content
- 7 years agokrogold
- 3 years agopbravodez1
- 2 years agoTestQA1
- 13 years agotbom
Recent Discussions
- 6 days agoruchisingh