Forum Discussion
rraghvani
Champion Level 3
Does the example shown in https://support.smartbear.com/testcomplete/docs/reference/project-objects/test-log/log/saveresultsas.html work for you?
chandrikanag
4 months agoOccasional Contributor
Hi,
It is giving me 404
- rraghvani4 months agoChampion Level 3
Try again, if the link doesn't work, then copy and paste it instead.
- chandrikanag4 months agoOccasional Contributor
rraghvani, Pls find the below response
Yes already using the same .. Below code was working fine till 15.61 test complete version
def export_logs():
logspath1 = Project.Variables.result_path+"\TC_LOG"
Log.Message("TestComplete Log path:"+logspath1)
Log.SaveResultsAs(logspath1, lsHTML)- rraghvani4 months agoChampion Level 3
What you have written, is not the exact example shown in the documentation.
- chandrikanag4 months agoOccasional Contributor
Yes even tried with Log.SaveResultsAs(logspath1, 1) also but same error
Related Content
- 6 years ago
- 3 years ago