Ask a Question

How to Analyze Log with Test Complete

SOLVED
kevintran1308
Contributor

How to Analyze Log with Test Complete

Hi,

 

I'm working on the application that most of the results will be stored in the Logs.

However, I only need to find 1 line of the Log to validate for the test and the Log keeps updating.

Can any one can teach me how to analyze the Log?

Or how to find one specific line with information using Test Complete?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: How to Analyze Log with Test Complete

okay, so it's your log from the app and not the TestComplete log

 

Here's how to read a text file

https://support.smartbear.com/testcomplete/docs/testing-with/working-with-external-data-sources/text...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

3 REPLIES 3
Marsha_R
Community Hero

Re: How to Analyze Log with Test Complete

There's a lot of information here about working with the log:

https://support.smartbear.com/testcomplete/docs/testing-with/log/detailed/index.html

 

Some users also take the xml from the log and parse it out to find what they want.

 

If you give us a specific example of what you want to find, especially if you can show it to us in a screenshot from your log, we will be able to give you better help.


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
kevintran1308
Contributor

Re: How to Analyze Log with Test Complete

For example of the Log:

kevintran1308_0-1613508952262.png

The log will keep updating for about 10 minutes and will create a new one.

The old log will be zip.

How can I find specific line for information in this Log using Testcomplete?

 

Marsha_R
Community Hero

Re: How to Analyze Log with Test Complete

okay, so it's your log from the app and not the TestComplete log

 

Here's how to read a text file

https://support.smartbear.com/testcomplete/docs/testing-with/working-with-external-data-sources/text...


Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: