Forum Discussion

Hemashree's avatar
16 years ago

Exporting log files using command prompt

Hi,



How to Export log files using command prompt.I am using test complete 7.

Please help me on this.



Thanks and Regards,

Hemashree

1 Reply

  • Hi,



    You can pass a custom parameter to TC's command line (for example /logPath:C:\Log), retrieve its value in your script and export logs at the specified location. To parse TC's command line, use the ParamCount and ParamStr methods, to export logs, use SeveResultsAs. See the "BuiltIn.ParamCount", "BuiltIn.ParamStr" and "Exporting Test Results" help topics.