Is it possible for a PowerShell script to read the .tclogx file (TestComplete's output file)
I have multiple Jenkins jobs which trigger TestComplete test scripts which generates the .tclogx files. Each test have sub-tests within them. I'm working on consolidating the results of these tests in an excel sheet.
Is it possible for a PowerShell script to read the .tclogx file (TestComplete's output file)? Or is there any other application which can do that?
My requirement is to read the TestComplete test script execution log after script completes. I need few details from the file's log statements and then I want to put those values in an excel file. Please provide your valuable suggestions.
If my testcomplete log contains below statements:
Then I want to read this file and generate an excel report:
I dont believe that powershell would be able to read the .tclogx file because this is specific to TestComplete. That being said - I would suggest exporting your results to a more generic format, the available option for TestComplete would be JUnit.
On further thought - you could also use the write to excel operation and skip a middle step all together, during your test you could write the values to the excel file so there would be no post processing required.
Re: Is it possible for a PowerShell script to read the .tclogx file (TestComplete's output file)
Thank you Emma and Marsha for your suggestions and responses. I will work on these ideas and come up with the best one suitable for my project's needs. If I have any further query, I will start another thread 🙂