Forum Discussion
HKosova
11 years agoSmartBear Alumni (Retired)
Hi Sapan,
Try the following value for the Condition parameter (replace 528 with your test run ID):
If you construct the request XML manually, put the condition string inside CDATA:
There's more info about conditions on pages 58 and 62 of the web service guide. Hope this helps!
Try the following value for the Condition parameter (replace 528 with your test run ID):
<Conditions
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
Operation="opEQU">
<Items Type="tField">
<Value xsi:type="xsd:string">TestRunId</Value>
</Items>
<Items Type="tConst">
<Value xsi:type="xsd:int">528</Value>
</Items>
</Conditions>
If you construct the request XML manually, put the condition string inside CDATA:
...
<TestRunItems_LoadByCriteria xmlns="http://www.pragmaticsw.com/">
<AuthenticationData>
...
<AuthenticationData>
<Condition><![CDATA[
<Conditions
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
Operation="opEQU">
<Items Type="tField">
<Value xsi:type="xsd:string">TestRunId</Value>
</Items>
<Items Type="tConst">
<Value xsi:type="xsd:int">528</Value>
</Items>
</Conditions>
]]></Condition>
...
There's more info about conditions on pages 58 and 62 of the web service guide. Hope this helps!
Related Content
Recent Discussions
- 17 days ago