Forum Discussion
No, that does not address the question at all. I have installed TestExecute and TestComplete already. Now I am trying to run a test item in a test project from a python script and to receive the log file from that run.
Well, since I don't know what your code does, I was going by this to figure out what you're doing
Script|Installation_Auto\" /SilentMode /exit'
Now that you've asked the real question, I can answer that. You can put test logs anywhere you want for easy access:
https://support.smartbear.com/testexecute/docs/logs/choose-storage-location.html
- tristaanogre7 years agoEsteemed Contributor
Marsha_R wrote:
Well, since I don't know what your code does, I was going by this to figure out what you're doing
Script|Installation_Auto\" /SilentMode /exit'
Now that you've asked the real question, I can answer that. You can put test logs anywhere you want for easy access:
https://support.smartbear.com/testexecute/docs/logs/choose-storage-location.html
To add to Marsha_R 's response, the log file is written out in the Log subfolder of the project for which you are executing the tests. So, whever that is, that's where the log file lives. What you MIGHT want to do, if you want specific control over that location during a test execution, especially since you are doing an integration of TC into some other application, is to include the commandlines for exporting the log to a file. There are several formats available, just choose what works best for you.
Refreence the "ExportLog" commandline switch at
https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/command-line.html