Forum Discussion
- Marsha_R
Champion Level 3
This link should help:
https://support.smartbear.com/testexecute/docs/logs/choose-storage-location.html
- JaswanthOccasional Contributor
In TestComplete, we have the option of changing the log location before we start execution. Is the same possible via TestExecute? In TestExecute, I believe we can only export the results to a new location after execution completes.
- AlexKaras
Champion Level 3
Hi,
TestExecute is a runtime engine to just execute tests. All test settings, including logs location are stored in the test project file (.mds). TestExecute does not provide means to manage settings in the .mds file, only TestComplete does.
Besides the link provided by Marsha, this one might appear to be useful as well: https://support.smartbear.com/testcomplete/docs/working-with/teamwork/sharing-projects.html
- cunderwCommunity Hero
I also recommend looking at https://support.smartbear.com/testexecute/docs/running/automating/command-line/command-line.html if you wanto automate exporting the logs.
- tristaanogreEsteemed Contributor
Jaswanth wrote:
Similar to how log location can be changed manually in TestComplete(RightClick on project->Edit->Properties->General->Log location).Can a similar change be done from the front end for TestExecute?
Log location is a project property that is set in the MDS file for the project. It is ready in at run time and cannot be altered in code. If you want the log location of your test log to be someplace else, that is part of the initial project configuration. It can be a relative path (in fact, by default, it is a relative path to the MDS file location).
TestExecute, by it's nature, is only a runner... it runs the projects. It cannot edit project code... and while the log location isn't exactly "code", it's part of the project that can be edited... therefore, there is no front end. Log.Path will give an output... but it's read only.