Forum Discussion
rraghvani
Champion Level 3
2 years agoDoes the example shown in https://support.smartbear.com/testcomplete/docs/reference/project-objects/test-log/log/saveresultsas.html work for you?
chandrikanag
2 years agoOccasional Contributor
Hi,
It is giving me 404
- rraghvani2 years ago
Champion Level 3
Try again, if the link doesn't work, then copy and paste it instead.
- chandrikanag2 years 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)- rraghvani2 years ago
Champion Level 3
What you have written, is not the exact example shown in the documentation.
- chandrikanag2 years agoOccasional Contributor
Yes even tried with Log.SaveResultsAs(logspath1, 1) also but same error