Provide for the ability to view logs outside of TC? Our logs are getting too large to keep in the 'Log' directory as part of our regular backup and we don't want to lose the testing history. I would ...
View Logs Outside of TC
william_roe
10 years agoSuper Contributor
Do you have any sample code which creates the concatinated file format to match the Test Complete naming convention: 3_15_2015_4_45 PM_04_25.mht?
function SaveLogResults(){ // ... // Specifies the path to the file that will contain // the test results in the MHT format var FileName = "C:\\Users\\svcmrtprdaccpt\\Documents\\TestComplete 10 Projects\\CMWeb Logs\\MyResults.mht"; var result = Log.SaveResultsAs(FileName, lsMHT); }
Related Content
- 9 years ago
- 7 years ago