cancel
Showing results for 
Search instead for 
Did you mean: 

Testcomplete 14 SaveResultsAs does not export summary.htm

SOLVED
stm
Occasional Contributor

Testcomplete 14 SaveResultsAs does not export summary.htm

Hi,
I use Log.SaveResultsAs(FileNameLogFormatExportVisualizerImagesLogScope) for export Testresults in HTML after the testrun, call is : Log.SaveResultsAs(logpath, lsHTML, true, 0), logpath is defined in a variable.
Testcomplete 14 has the summary report (summary.htm), when I call the export from Testcomplete ID or with commanline parameter, the file summary.htm will be exported, but when I use Log.SaveResultsAs the file summary.htm will be not exported.

 

Is there something wrong with my call for Log. SaveResultsAs or does Log.SaveResultsAs not support the export of summary.htm?

greentings
Martin Stromberger

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
stm
Occasional Contributor

Re: Testcomplete 14 SaveResultsAs does not export summary.htm

Hi, I came to the same solution, rework startjobs for local export and power-shell-scripts for moving local export to to a logshare. I'm still considering a downgrade to testcomplete 12 because in my case only the support for newer Firefox versions is required.

greetings
Martin Stromberger

View solution in original post

4 REPLIES 4
Community Hero

Re: Testcomplete 14 SaveResultsAs does not export summary.htm

Save results saves the log, it doesn't save the summary report because the summary report that you see in TestComplete is created later in the process after the log is saved.  It's not part of the log itself so Log.SaveResultsAs won't save that report.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Community Hero

Re: Testcomplete 14 SaveResultsAs does not export summary.htm

Second what @tristaanogre said. We had to rework our framework to have our powershell scripts save the logs as opposed to a tear down script inside of test complete to use this feature. 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped
stm
Occasional Contributor

Re: Testcomplete 14 SaveResultsAs does not export summary.htm

Hi, I came to the same solution, rework startjobs for local export and power-shell-scripts for moving local export to to a logshare. I'm still considering a downgrade to testcomplete 12 because in my case only the support for newer Firefox versions is required.

greetings
Martin Stromberger

View solution in original post

Contributor

Re: Testcomplete 14 SaveResultsAs does not export summary.htm

Hi, @stm .
I faced a similar problem. Maybe my solution could be helpful for you.
We're running the tests with ps script, which starts the TestComplete. 
The summary is exported with /el command-line argument after testRun is finished.
But I post the logs URL to the slack on testRun start, and also post the intermediate logs, when an error occurs, or with pre-configured log-timeout. 
So I had to retrieve the value of an /el argument.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors