mesg2anil
14 years agoRegular Contributor
Exported Log Report Not Showing Messages
Hi,
1. After exporting the log report using the below code, the log report dont have "Messages" listed. It is displaying on "Events", but I can see the "Messages" in TC Test Log. I'm attaching two screenshots "TCTestLog.jpg" and "Exportedlogreport.jpg" for more details.
Code:
2. Another issue I'm facing is, in TC, I can see only "Script Test Log[Unitname]" under "Log Items" of "Test Log". You can see the image "TCTestLog.jpg" for more details. I want high level information also should be displayed, like Machine name, Date, Time, Status (Pass / Fail), Username etc.
Could you please look into above mentioned two issues?
1. After exporting the log report using the below code, the log report dont have "Messages" listed. It is displaying on "Events", but I can see the "Messages" in TC Test Log. I'm attaching two screenshots "TCTestLog.jpg" and "Exportedlogreport.jpg" for more details.
Code:
Sub ExportLogReport()
'Write log file to folder
Randomize
Random = Round(Rnd() * 1000)
FileName = Project.ConfigPath &"\Log\Exported Log Report\CreateSubProject" &Random &".mht"
Log.SaveResultsAs Filename, 2
End Sub
2. Another issue I'm facing is, in TC, I can see only "Script Test Log[Unitname]" under "Log Items" of "Test Log". You can see the image "TCTestLog.jpg" for more details. I want high level information also should be displayed, like Machine name, Date, Time, Status (Pass / Fail), Username etc.
Could you please look into above mentioned two issues?