Forum Discussion
chandrikanag
2 years agoOccasional Contributor
Hi,
It is giving me 404
chandrikanag
2 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
- rraghvani2 years ago
Champion Level 3
This is the example shown in the documentation,
def Test1(): # Do something # ... Log.SaveResultsAs("C:\\Work\\Log\\Project1\\", lsHTML, True, 1) # Files are created in the Project1 folderWhen you run the example, it will generate an empty report,