Ask a Question

Extracting Test Logs to txt file from Command Line

SOLVED
markre94
Frequent Visitor

Extracting Test Logs to txt file from Command Line

Hi,

I am looking for the solution to extract the test logs (using Command Line) to a text file in a way a you can use the /ErrorLog:"file_name.txt" command.

Is there a way to do so? The command /ExportLog:"filename" is not really working for me since it's only provides unwanted file formats.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
hkim5
Staff

Re: Extracting Test Logs to txt file from Command Line

this request is currently not quite possible.

the closest thing you could do is implement a runtime script that will do somethign similar as shown in this doc

https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/from-tests.html

by accessing the log contents and having testcomplete log it to a newly created text file

Best,
Justin Kim

View solution in original post

1 REPLY 1
hkim5
Staff

Re: Extracting Test Logs to txt file from Command Line

this request is currently not quite possible.

the closest thing you could do is implement a runtime script that will do somethign similar as shown in this doc

https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/from-tests.html

by accessing the log contents and having testcomplete log it to a newly created text file

Best,
Justin Kim

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: