How to get the Test Summary Report as an image
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to get the Test Summary Report as an image
Hi All,
I am having a scenario where I need to mail the test summary report after the execution to the stakeholders. Can someone let me know how I can get the Test Summary report provided by TestComplete as an image.
Or Please key in your suggestions on how I can achieve my scenario.
Thanks in advance.
Thanks,
Karthik K R
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure which report you mean. Could you post a screenshot?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
You could save as a web archive (.mht) a report and add it as a file in a sendmail function. Everything is in the documentation...
But you will face the problem that with a visualizer (png screenshots) and infos the archive is quite heavy.
My own .mht could reach 500Mb each.
Without the vizualizer that's a few Mb and the execution is about ten times faster.
So : see the doc about sendmail and about saving as the log.
PS : you could format your mail with HTML to have colors, other fonts, etc...
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
Thanks for your suggestion. I wrote a separate VB Script code to capture the screen after completing the execution. This helps me in providing the summary report as an image.
Thanks,
Karthik K R
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you plz share the code. How you did this 🙂
Did you use shell script for this ??
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have used an utility called NirCmd.exe which provided a method called savescreenshot to take the screenshot. At the end of the testcomplete execution, i called this method using a bat file.
Thanks,
Karthik K R
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Karthik, 🙂
