Hi All,
I have TestExecute installed in a remote machine. I have created few test items in TestComplete in my local machine and exported these items to the remote machine. When I run them, I get execution log from TEstExecute after execution.
I wish to generate a HTML Report that will access these testexecute logs of each test item, fetch the test item name and its status (Pass/Fail) and display it in the report.
I am currently using the Projects.Log method which fetches all the test runs from the Project log folder (Top level) and prints their status. However, I need to access the location of the Testexecute logs , parse through them and take the required data from it and generate a html report.
Kindly help me on achieveing this.
I would say parsing TestExecute log to generate HTML report is a bad idea. Instead, you can create your HTML report in the project.
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”Hi,
While I agree with Shankar, https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/from-tests.html might appear to be useful.
Wayback, i created a ScriptExtension to generate HTML reports. You can try that
LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com
“You must expect great things from you, before you can do them”Hi Shankar_r,
Thank you for the suggestions on generating the HTML Report from TestComplete. I went through the link that you have shared. However, I have no knowledge on JS and hence was scripting using VBscript.
I have tried to convert your script to VBscript manually and currently facing some syntax issues. Hopefully will resolve them soon and will try to utilize the script. Thank you for your support.
Subject | Author | Latest Post |
---|---|---|