lavalleep
13 years agoNew Contributor
Export Project Suite Logs programmatically
Greetings everyone!
I've automated different projects that are all contained within the same project suite. As of now, the logs are exported manually and I was wondering if the functionnality could be applied in some way.
I've looked into adding an OnTestStop event with the proper method in it but can't find an actual exemple of a JScript function that could help me in this manner. What i've got so far is this:
function ExportResults()
{
var FileName;
FileName = "C:\\Export";
Log.SaveResultsAs(FileName, 1);
}
The idea is to have the logs exported to an HTML format (second parameter set to 1).
Any help is welcome and thanks in advance :)
I've automated different projects that are all contained within the same project suite. As of now, the logs are exported manually and I was wondering if the functionnality could be applied in some way.
I've looked into adding an OnTestStop event with the proper method in it but can't find an actual exemple of a JScript function that could help me in this manner. What i've got so far is this:
function ExportResults()
{
var FileName;
FileName = "C:\\Export";
Log.SaveResultsAs(FileName, 1);
}
The idea is to have the logs exported to an HTML format (second parameter set to 1).
Any help is welcome and thanks in advance :)