Forum Discussion
Yabing,
Your MyFinalResult.xml file contains information on the total number of warnings and errors:
<Node name="root">
...
<Prp name="warning count" type="I" value="1"/>
...
<Prp name="error count" type="I" value="86"/>
As for other metrics, you need to find the {GUID} file that contains summary data. For instance, in the archive you sent these are the {A5FBDAA3-CCAF-4A7A-89DB-41C6765D6EC5} and {AB7C19FF-1817-46CD-BFD5-CE432F2E4EED} files.
Each of these files has the summary node (see below). The file also contains nodes that store various summary values:
{summary file}
<Node name="summary">
<Node name="failed">
<Prp name="total" type="I" value="31"/>
<Prp name="total (sum)" type="I" value="31"/>
...
</Node>
<Node name="passed">
<Prp name="total" type="I" value="238"/>
<Prp name="total (sum)" type="I" value="238"/>
...
</Node>
If you need other specific results, you have to parse the XML data and find the needed values.
An easier approach, perhaps, is to work with log data from scripts. See Scripting Access to the Test Log Contents.