ContributionsMost RecentMost LikesSolutionsRe: How to export the test results to a PDF through script Thanks Marsha_R. Yes. Currently, we are using the similar type of Python script to save the TestComplete report as a html file. Re: How to export the test results to a PDF through script Hi TanyaGorbunova Thanks for your suggestion. While exporting the logs to a PDF file manually, it's looking nice to me. I was looking for a single file. But as it is not possible to get PDF through scripting, I will export the test logs to a .MHT file. How to export the test results to a PDF through script Hi, Can anyone please guide me with a sample script to export the test result to a PDF file in TestComplete. I know the manual process to do so, suggested in https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/exporting/to-pdf.html, but I want to do that through scripting. Thank you SolvedRe: TestComplete event handling Thanks AlexKaras for your reply. I will try and confirm you. TestComplete event handling I have created a General Event such as GeneralEvents_OnLogError (Sender, LogParams) ( it's an OnLogError event - Occurs when an error message is posted to the test log) which is being called by both my desktop and web applications, whenever errors occur. I'm capturing the log message in a file by extracting the message using 'LogParams.MessageText'. Whenever it shows the error as 'The object does not exist. See Additional Information for details', its difficult to get the failure whether happened in Desktop application or Web Application. So, could you please suggest me how I can create a customized function to determine the error happened in Desktop or Web Application. Re: selecting the Drop Down values Is it the application developed in Angular. Could you please try this. 1. Identify the drop arrow element of list box and click that 2. Then click on the item you want to select A sample code in Python #Browser page=Sys.Browser().Page("*") #Drop down panel property definition setInstCodePropArray = ["ObjectType", "firstElementChild.id"] setInstCodeValuesArray = ["Panel", "SelectVpdiCmp"] #Click on the drop down panel=page.FindChild(setInstCodePropArray , setInstCodeValuesArray , 20) panel.focus panel.Click() # Select the item PropArray = ["ObjectType", "contentText"] ValuesArray = ["TextNode", "Health Sciences Center (HSC)"] panel.FindChild(PropArray, ValuesArray,2).Click() Re: Automation Test flow execution between desktop and web module and visa-versa in TestComplete tristaanogre AlexKaras So, if that would be case, then which type of project I have to create (from the attached screen), so that we can write the script for both window and web page application? Re: Automation Test flow execution between desktop and web module and visa-versa in TestComplete tristaanogre Would you like to suggest me to create a single project [Rather than creating 1 desktop module project and 1 Web module project ] where we can write the script for both Desktop and Web application.. I think it will work for me. Re: Writing data into excel using Python shankar_rThanks for the reply. I have checked this article. Its all about reading data from excel. It would be helpful if you would share links/sample python script to write into Excel. Anyway, I found the solution. Re: Writing data into excel using Python baxatob Could you please share the official procedure to add openpyxl library to TestComplete.