Forum Discussion

Anandhu's avatar
Anandhu
New Contributor
5 years ago

clarifications on exporting ‘Summary Report’ from Tests (not manual exporting from IDE)

Is there a  way to export the exactly specified data of the image including graph. We tried using Log.SaveResultsAs("C:\\Work\\Log.mht", lsHTML), which is mentioned in TestComplete documentation. Bu...
  • hkim5's avatar
    hkim5
    5 years ago

    Hey, I'm not sure if I understood this correctly, but if the problem is that your exportation of the Test Execution Summary doesn't include the pie charts and the following graphic information, I think all you need to do is export it as an .mht file.

    So sequentially, the screenshots show the following:

    1) Project level containing three tests (2 keyword tests, and 1 script routine)

    2) this script routine is the Log.SaveResultAs() that saves the logs as an mht file

    3) what i see when I open up this saved mht file with an IE browser from the stored location 

    4)The following details in the exported mht file.

     

    Strangely enough, the exported logs dont contain the saveAsMHT script routine as a "run" test in the top level summary, but once i click on the test case level, it shows as a script routine.