Ask a Question

Exporting test results to html and create a custom report

TestQA1
Contributor

Exporting test results to html and create a custom report

Hi folks,

Is there any sample JavaScript project provided by test complete that would help me create a custom report out of test log results. I'm coding in JavaScript and using bdd scenarios.
Also, can anyone share how exporting results to html may be helpful in achieving other advanced tasks.

Thanks in advance
3 REPLIES 3
rraghvani
Contributor

Have a look at TestComplete Command Line and command /ExportSummary. 

SBegley
Staff

Hi @TestQA1 

 

We have the following samples available; https://support.smartbear.com/testcomplete/docs/tutorials/samples/index.html

https://support.smartbear.com/testcomplete/downloads/samples/

 

All examples are grouped into the following folders:

Common

Desktop

Mobile

Web

You can also find a lot of sample scripts, which demonstrate how to solve almost any problem, in the How To section of our website: https://support.smartbear.com/howto

 

Kind Regards,

Shane

 

GGuezet
Contributor

In my work, i need to create a custom test report.

In order to do that, I am exporting the test report as .html in TestComplete.

 

In the export, the file called "_TestLog.js" contain all tests informations into a JSON format.

 

With some adaptation, you shoud be able to load the JSON, and then extract all the test data that you need

cancel
Showing results for 
Search instead for 
Did you mean: