Forum Discussion

nisgupta's avatar
nisgupta
Valued Contributor
6 years ago

XML file under the Project log Folder

What is the file which is of XML format Under the Project Log Folder ? What information it contain ?

 

Please update 

 

Thanks

Nishchal

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Which file do you mean?  If you mean the <project name>.mds.tcLogs file, that's the file that contains the links between the project MDS file and the logs for the individual executed test runs.  This is not a file that should be checked in and out of source nor is it necessarily recommended to manipulate it outside of regular functioning of TestComplete.  You CAN but, if done improperly, you could end up with lost data for test run logs.

    • nisgupta's avatar
      nisgupta
      Valued Contributor

      Attached the screenshot .

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        That's the log itself, all the record entries in the log in XML format.  Again, you can read it and do what you want... but it's not recommended to alter it. 

    • SeumasMack's avatar
      SeumasMack
      Occasional Contributor

      tristaanogreIt appears you are answering a question I've been trying to get SmartBear support to respond to.  As my team keeps having merge conflicts with the ".mds.tcLogs" file, I wrote to SmartBear support and asked them if it would be okay for me to include that file in our ".gitignore" file in Bitbucket.  Before doing so, however, I wanted them to confirm for me that I wouldn't be wrecking anything or causing others problems when trying to run tests at a later date/time.  Just to confirm here, mate, you are saying it's okay to ignore the .mds.tcLogs file, correct?

      • tristaanogre's avatar
        tristaanogre
        Esteemed Contributor

        SeumasMack wrote:

        tristaanogreIt appears you are answering a question I've been trying to get SmartBear support to respond to.  As my team keeps having merge conflicts with the ".mds.tcLogs" file, I wrote to SmartBear support and asked them if it would be okay for me to include that file in our ".gitignore" file in Bitbucket.  Before doing so, however, I wanted them to confirm for me that I wouldn't be wrecking anything or causing others problems when trying to run tests at a later date/time.  Just to confirm here, mate, you are saying it's okay to ignore the .mds.tcLogs file, correct?


        Yes. 

         

        From the help, indicating files that TestComplete, when integrated with source control, are not included and the reasons why.

        Note, that the following files are not added to the source code control:

        • .tcCFGExtender - This file holds tester-specific settings for the project suite (such as the workspace layout).

        • .tcLS - This file contains tester-specific settings for the project suite or project (such as local paths to tested applications, local values of project and project suite variables).

        • .bak - Backup copies of script units.

        • .tlb - This is a type library that contains declarations of events used in the project.

        • .tcLogs - This file contains information on the project suite or project logs.

        • Log files.

        • Project item files that are physically located outside of the project suite folder.

        To add detail to the .tcLogs files, these actually are a "linking" file for the project indicating which log entries are associated with the MDS file and where to find them.  Everytime a new log entry is created, that file is updated.  Because you don't need to version control/source control log files (they aren't source, they are output), you can safeily ignore them... and any other files in the list I just provided.