cancel
Showing results for 
Search instead for 
Did you mean: 

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

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.

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

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements