vthomeschoolmom
14 years agoSuper Contributor
Log.File and then Log.SaveResultsAs
In my script, I have a line
Log.File sFullyQualifiedName, "Second Report File Saved"
In which I attach a file for evidence of successful test completion. When I observe the log Test Complete, there is a link to the file. Lovely!
Call log.SaveResultsAs(logname, 2) '2 is MHT format
When I look at the resultant MHT file, there is a link column but for thie logged file, there is no linked item. Picture is, of course, empty. But the pics that were included in the log are added to the MHT just fine.
How do I gt the file in the log to save away with the rest of the log information to save with my test evidence? Thanks!
Log.File sFullyQualifiedName, "Second Report File Saved"
In which I attach a file for evidence of successful test completion. When I observe the log Test Complete, there is a link to the file. Lovely!
Call log.SaveResultsAs(logname, 2) '2 is MHT format
When I look at the resultant MHT file, there is a link column but for thie logged file, there is no linked item. Picture is, of course, empty. But the pics that were included in the log are added to the MHT just fine.
How do I gt the file in the log to save away with the rest of the log information to save with my test evidence? Thanks!