Forum Discussion

rrubio's avatar
rrubio
Contributor
13 years ago

Is there a way of doing by code the manual 'Export to' at Project level?



Hi all,



I have seen some posts regarding this issue.

Anyway, in my case, automated testing is integrated in a daily build project. At the end of testing, it has to send a mail with the final result: OK, NOT OK and export testing results to a .mhtml file.



As this execution test is formed by several test items, with Log.SaveResultAs functions we only have the results for current item (at this point I could export it to a file)  (and so on with each test item).



However, this will generate as many export files as test items.



From TestComplete I can open the testlog and export all items execution files in a single .mhtml file



Is it possible to redo this by code? Or is it possible to load any single log file result, "pack them" in a single composed log and then export it?





Thanks for everything.



Raul

14 Replies