Forum Discussion

madhulendra's avatar
madhulendra
New Contributor
13 years ago

How to save email to html format in firefox with inline image and compare it with benchmark file

Hi,



My requirement is to save email to html format with inline image in firefox and compare it with benchmark file.



follwoing steps I follow through TestComplete Script


  • open mail


  • double click on mail


  • right click on mail




after right click on mail I have to cilck on "Save Page As" option. how can I do it and also please let me know any other option to save html file and how to compare saved html file with benchmark file.





Any assistance is appreciated.





Thanks,

Madhulendra Kumar

  • Hi Madhulendra,


     


    I think, it's easier to simulate saving the page by using the Ctrl-S shortcut:


    page.Keys("^s");


     


    However, the whole page will be saved by using the steps you are using. If the page contains not only the HTML mail text, you will save a lot of waste information. Describe your task in detail - maybe we can offer you a better solution.