Forum Discussion
This may be what you are looking for:
Verify the silent installation success
In silent mode, the installation wizard shows no informative, warning or error message. The installation program creates the setup.log file and writes the installation status to that file. You can examine that log file to learn whether TestComplete has been installed successfully.
The file is located in the folder containing the installation files. Open the file and check the ResultCode value. 0 indicates success, any other values indicate an error. A complete list of error codes is available on this web page:
helpnet.flexerasoftware.com/installshield19helplib/helplibrary/SetupLog.htm
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.
- christianf6 years agoOccasional Contributor
so I was trying to do something like
log = TCInt.RunProjectTestItem("{}; /r /p:InstallationCS /t:\"Script|Installation_Auto\" /SilentMode /exit'" % ProjectPath)
in order to receive the output, but that doesn´t work out.
- Marsha_R6 years agoModerator
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
- tristaanogre6 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
Related Content
- 2 years ago
- 3 years ago
- 4 years ago
Recent Discussions
- 18 hours ago
- 19 hours ago
- 5 days ago