Having Trouble with tm setresults
I am trying to use tm setresults to commit a few hundred test case results (in a single session) at a time. I don't think the issue is with the quantity but I don't know. My action definition is below (minus most of the results). When I try to execute the command (via C API), I get the error: MKS124581: Line 11: Problem parsing XML content: null
I assume this error is actually referring to line 12 with the attachment but I don't know for sure. Does anyone know what the issue is? Attachment name is supposed to be optional so I don't think leaving that out is the issue.
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE ActionList SYSTEM "ActionList.dtd">
<ActionList sessionID="61686">
<SetResult caseID="60768">
<Verdict>Passed</Verdict>
<AddRelatedItem id="61743" />
</SetResult>
<SetResult caseID="60764">
<Verdict>Not Passed</Verdict>
<Annotation>Reason: </Annotation>
<AddRelatedItem id="61744" />
<AddAttachment file="remote://C:\Users\borrno\AppData\Local\Packages\f6931c13-f27d-4e60-849e-9aabd681f391_ke8sybv4sk4d6\LocalState\artifact150723014349_6168060764.jpg">
<Description>Test Artifact</Description>
</AddAttachment>
</SetResult>
<SetResult caseID="60765">
<Verdict>Passed</Verdict>
</SetResult>
<SetResult caseID="60761">
<Verdict>Not Passed</Verdict>
<Annotation>Reason: </Annotation>
<AddRelatedItem id="61745" />
<AddAttachment file="remote://C:\Users\borrno\AppData\Local\Packages\f6931c13-f27d-4e60-849e-9aabd681f391_ke8sybv4sk4d6\LocalState\artifact150723014414_6168060761.jpg">
<Description>Test Artifact</Description>
</AddAttachment>
</SetResult>
<SetResult caseID="60757">
<Verdict>Passed</Verdict>
<AddAttachment file="remote://C:\Users\borrno\AppData\Local\Packages\f6931c13-f27d-4e60-849e-9aabd681f391_ke8sybv4sk4d6\LocalState\artifact150723014429_6168060757.jpg">
<Description>Test Artifact</Description>
</AddAttachment>
</SetResult>
<SetResult caseID="60799">
<Verdict>Not Passed</Verdict>
<Annotation>Reason: </Annotation>
</SetResult>
</ActionList>
