Ask a Question

Add data to report


Add data to report


Hi How do I add more items under general, Tye seem to dom from a js structure called Data, how can I add to it?

I can mock the summary.htm and insert manually:

<div id="GeneralResults_Section">
 <h2><a href="#" onclick="ShowHide('GeneralResults')"><img id="GeneralResults_Img"/>General</a></h2>
 <div id="GeneralResults" class="section">
   <tr><td class="generalCellTitle">Execution started:</td><td class="generalCellData" id="execStartTime">N/A</td><td class="generalCellTitle2">User:</td><td class="generalCellData" id="execUserName">N/A</td><td></td></tr>
   <tr><td>Execution stopped:</td><td class="generalCellData" id="execStopTime">N/A</td><td class="generalCellTitle2">Computer:</td><td class="generalCellData" id="execHostName">N/A</td><td></td></tr>

ddata taken from a data structure under <script>.

But it would be nice if there was an array I could just push to.


Esteemed Contributor

You can't really.  That's generated by the TestComplete tool in internal code.  As far as I know, there's no open API or code that can be written to add to the "canned" reports.

Robert Martin
[Hall of Fame]
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
Vegas Thrill Rider
Extensions available
Showing results for 
Search instead for 
Did you mean: