Forum Discussion

nish_b's avatar
nish_b
Contributor
3 years ago

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.

 

Example:

If my testcomplete log contains below statements:

Validation1: PASS

Validation2: FAIL

 

Then I want to read this file and generate an excel report:

Test Scenario    Test Case        Status

1                         Validation1     PASS

1                         Validation2     FAIL

2                         Validation1     PASS

2                         Validation2     FAIL

5 Replies