Ask a Question

XML file under the Project log Folder

nisgupta
Valued 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

20 REPLIES 20
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.


Robert Martin
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available

Attached the screenshot .

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. 


Robert Martin
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available

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

tristaanogre
Esteemed Contributor

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


Robert Martin
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available

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

 

Thanks

Nishchal

tristaanogre
Esteemed Contributor

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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available

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

tristaanogre
Esteemed Contributor

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
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
cancel
Showing results for 
Search instead for 
Did you mean: