cancel
Showing results for 
Search instead for 
Did you mean: 

XML file under the Project log Folder

Highlighted
Super Contributor

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

15 REPLIES 15
Community Hero

Re: XML file under the Project log Folder

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.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Super Contributor

Re: XML file under the Project log Folder

Attached the screenshot .

Community Hero

Re: XML file under the Project log Folder

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. 


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Super Contributor

Re: XML file under the Project log Folder

So it is the same log entries in XML format  that we see on TestComplete IDE under the Test Log? Attached the screenshot

Community Hero

Re: XML file under the Project log Folder

Yes.  There are other supporting files that go along with that XML to include files, screenshots, etc. 


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Super Contributor

Re: XML file under the Project log Folder

Where we can see the information about this file in TestComplete documenation ?

 

Thanks

Nishchal

Community Hero

Re: XML file under the Project log Folder

There is no user documentation for those files because, as mentioned, they are not files that are typically used, utilized, altered, or read directly from any sort of script code or functionality.

Question:

What do you need to know about his file?  What are your intentions? What are you trying to do?


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Super Contributor

Re: XML file under the Project log Folder

As I mention in other forum that we are interested in creating the issue in Jira if the log contain errors automatically. but TestComplete do not have this support to do automatically . We are looking for some kind of data to inject to Jira API to do this. That is why we wanted to know.

 

Thanks

Nishchal

Community Hero

Re: XML file under the Project log Folder

Rather than reading the file, what if you used the "OnLogError" event handler to call your API call to Jira to create the issue?  The "LogParams" that is generated in that event handler contain the contents of the error entry that is created.  Rather than parsing the file, you can intercept the error log entry itself and use that for pushing to the API.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
New Here?
Join us and watch the welcome video:
Top Kudoed Authors