cancel
Showing results for 
Search instead for 
Did you mean: 

Read the status of .mht file which is already Exported

SOLVED
K_Sathish_Kumar
Contributor

Re: Read the status of .mht file which is already Exported

@Marsha_R ,

 

 

the article contains few details about how to access the log data which is as part of project logs but in my case I wanted to access the log data which is from a separate exported mht file (not part of project suite).

 

 

Regards,
Sathish Kumar K
Marsha_R
Community Hero

Re: Read the status of .mht file which is already Exported

You have not yet showed us what you have tried on your own.  

AlexKaras
Community Hero

Re: Read the status of .mht file which is already Exported

Hi,

 

.mht files are archives that contain the whole web page along with all required additional resources.

Something from below might inspire you with some sort of solution applicable for your project:

https://forum.katalon.com/t/saving-web-page-as-mhtml-in-katalon-studio/49368

https://stackoverflow.com/questions/3230305/how-to-read-or-parse-mhtml-mht-files-in-java

https://www.google.com/search?q=jscript+parse+mht+file

 

P.S. Somewhere in time there was a sample project published either on this forum or on SmartBear's site about analysis of the .mht log, but I don't have it at hand at the moment.

 

Update: Found it. It appeared to be not TestComplete project but just a powershell script. Though it looks like that it contains what you are looking for.

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

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