Forum Discussion
lnd_amaral
11 years agoContributor
what is the version of your TC?
i'm using TC10 and it worked.
function main(){
Log.Message("Message");
Sys.Keys("");
Log.Warning("Warning");
Log.Error("Error", "Error details");
}
function GeneralEvents_OnStopTest(Sender)
{
Log.SaveResultsAs("C:/temp/log.mht",2)
}
i'm using TC10 and it worked.
function main(){
Log.Message("Message");
Sys.Keys("");
Log.Warning("Warning");
Log.Error("Error", "Error details");
}
function GeneralEvents_OnStopTest(Sender)
{
Log.SaveResultsAs("C:/temp/log.mht",2)
}