Forum Discussion

maxime_esprit's avatar
maxime_esprit
Occasional Contributor
12 years ago

Export Results as XML format via COM Object

Hi, I'm working with TestComplete via COM Object to automate execution of several test items, groups of test item, projects or projectSuites. After each execution, I would like to export the...
  • TanyaYatskovska's avatar
    12 years ago

    Hi Max,


     


    The Integration.ExportResults method allows exporting the results only to the MHT format. But, you can still access all the execution results via COM like this:


    Integration.GetObjectByName("Project").Logs


     


    As a result, you are getting a reference to the LogResults object.


    This object can't export logs, but it provides you with programmatic access to all log data including the log status.