Forum Discussion
Dmitry_Nikolaev
Staff
14 years ago
Hi Roman,
When you export the test log to a folder manually, TestComplete exports the results to a collection of HTML, XML, image and other helper files. This operation is equal to the 'Log["SaveResultsAs"] ("PathToMyFolder", lsHTML)' method. By default, you export your test log results to the XML format. It's equal to the lsXML LogFormat value. To learn about the difference between the lsHTML and lsXML LogFormat values, see the Log.SaveResultsAs article.
In the exported 'root.xml' file in your 'PathToMyFolder' parameter, you can find something like this:
<LogData name="Script Test Log [Unit1\Main]" status="0">...</LogData>
By analyzing the value of the status attribute, you can find out whether a test run was successful:
0: the test run was successful;
1: there were warnings;
2: the test failed.
Please refer to the 'Exported Results Structure' article for details.
BTW, the latest version of the product is TestComplete 8.70.