Forum Discussion

Ravikaanth's avatar
8 months ago

Converting html file into pdf file

Hi team,


I can save the reports in html format which is generated by testcomplete by using below javascript code


Log.SaveResultsAs("C:\\Automation\\TestReport\\"+filename , lsHTML);


Is there is any possibilities to save the reports in pdf format using javascript? In the documentation there is a manual operations but I need to handle it through the script.