Forum Discussion

HajVR's avatar
HajVR
New Contributor
4 years ago

Rearranging the test complete log

Hello Community,

Is there anyway to programmatically re-arrange a test complete log after it has been created (and save it to a new file)? We would like to move the log items in an order we want (For an example, If the tests are run on a network suite, the test results are logged under Networksuite node. But We would like to get rid of the Networksuite, Job and Task nodes and move the log items under them to the root node)

I did go through the following documentation without much luck - https://support.smartbear.com/testcomplete/docs/testing-with/log/working-with/from-tests.html

 

Thank you.

  • Hi,

     

    No, TestComplete's test log cannot be rearranged.

    What is possible to do is to parse existing test log and create a new one with the structure and appearance that you need. (Implementation of both, the structure and appearance is your own responsibility.)

    You've referenced correct help article to be used if you decide to parse the existing log and create a new one.

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    No, TestComplete's test log cannot be rearranged.

    What is possible to do is to parse existing test log and create a new one with the structure and appearance that you need. (Implementation of both, the structure and appearance is your own responsibility.)

    You've referenced correct help article to be used if you decide to parse the existing log and create a new one.