MulgraveTester
9 years agoFrequent Contributor
log.SaveResultsAs
When using the log.SaveResultsAs command each call exports the log file from the beginning of the test run, rather than from the last call to log.SaveResultsAs. Is there a way to reset the log so that each call to log.SaveResultsAs only exports the portion since the last log export?
Example code (VBS):
This code exports 5 log files with messages 1-5, 1-10, 1-15, 1-20 and 1-25
I want to be able to export 5 log files with messages 1-5, 6-10, 11-15, 16-20 and 21-25
sub Testlog
for j = 0 to 4
for i = 1 to 5
log.message("Message " & i + j*5)
next
call log.SaveResultsAs("C:\Temp\test" & j & ".mht", lsMHT, false)
next
end sub
Hi,
No, this is not possible according to my knowledge.