Forum Discussion

maciej_baranski's avatar
maciej_baranski
New Contributor
10 years ago

Log.SaveResultsAs lsXML lesCurrentTestItem

Hello,



I am running test project with many test items.

(all project test items are associated with script routines written in vbScript )



I would like to export test log of each individual test item separately in TestComplete format.



( I also need test log of the whole project for the 'big picture'. )



The solution which I would expect to work is:



Call Log.SaveResultsAs([PATH] , lsXML , False, lesCurrentTestItem)



Unfortunatelly, exported log always contains all (previous) items, not only the current one.

(Exporting in lsHTML format works as expected - exported log contains only current item)



How can I obtain test logs for individual test items  in addition to test log of whole project ?



(TestComplete version: 10.40.2015.7)