I want to say many thanks for your quick answer.
Well even if it my final status test is on warning, failed or success, I want to grab that status and add it to my .MHT export file name, then I will be able to check the test status even if I don't want to open it.
Here my example, in this line {{ success = Project.Logs.LogItem(1).Data(1). }} I'm able to play with the LogItems but the logItem that I want is the one is not created yet, the one is still in process.
I don't know how to explain, at all but this script is runing at the end of my test and export my current test with the name of the test on it, date, hour, and the {status result } in the file name.
Sub exportTestAs(path)
Dim filename, dateHour, success
{{ success = Project.Logs.LogItem(1).Data(1).Scheme.Name }}
dateHour = aqConvert.DateTimeToFormatStr(aqDateTime.Now, " %d,%m,%Y %H.%M")
filename = Project.TestItems.Current.Parent.Name
filename = filename & dateHour & success & ".mht"
Log.SaveResultsAs path & filename,2
End Sub