Forum Discussion
1 Reply
- YMinaev
Staff
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.