Ask a Question

Export Project suite Logs

Iso_Yura
Occasional Contributor

Export Project suite Logs

I need to Export all Project Suite Logs in one step in ".tcLog or .tcLogX" formats that I can later import them into Project Suite.

I found that it's possible to do in Command Prompt, but I can't figure out how to do it.

 

In instance my project is located at "C:\Workspace\TC\project_one" and I want to save the logs into folder "C:\Workspace\Logs\project_one"

 

What should I enter in Command Prompt?

5 REPLIES 5
rraghvani
Trusted Contributor

See Exporting Test Results. Using TestComplete Command Line you can export your logs to a different folder location.

Iso_Yura
Occasional Contributor

I saw the command /ExportLog:file_name on support page but when I use /exportLog:"C:\Workspace\Logs\project_one\Log.tcLogX" it doesn't work, 

I also tried "C:\Workspace\TC\project_one" /exportLog:"C:\Workspace\Logs\project_one\Log.tcLogX".

 

I know that I'm missing something, and this is what I'm trying to figure out what exactly I'm doing wrong.

 

rraghvani
Trusted Contributor

For example, run the following from the command prompt

TestComplete.exe "C:\My Projects\MySuite.pjs" /run /p:MyProj /exportLog:"C:\TestLogs\Log.tcLogX"

 This will launch TC; run MySuite suite, project MyProj and export the log file to 'C:\TestLogs'.

 

Further examples are shown here Exporting Test Results

Iso_Yura
Occasional Contributor

But it's not what I'm looking for. 

I need to export already existing Logs files as .tcLog or .tcLogX files.

 

From TC app I can't export logs in those file formats and command that you are referring to is exporting logs from particular project run(play) which is mentioned in the command.

This is why I was trying to modify the command above to export all existing Logs.

 

rraghvani
Trusted Contributor

If the option is not listed here Test Results. then it's not available.

 

cancel
Showing results for 
Search instead for 
Did you mean: