Forum Discussion

OficialRCP's avatar
OficialRCP
Visitor
29 days ago

JUnit Export Does Not Include Execution Time and Warnings in XML File

When using the method
Log.SaveResultsAs(Project.Variables.FileLog, lsJUnit), the generated XML file does not include critical information shown in the TestComplete summary, such as the total execution time and the number of warnings.

 

1 Reply

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    If you use the command line parameter /ExportSummary for TestComplete/TestExecute, it will generate the summary report like so,

    As noted in Exporting Test Results, "The generated JUnit report differs from the JUnit-style report that the TestComplete Test build step for Jenkins with the Generate JUnit-style report option (or the publishJUnitReports parameter) enabled generates."