Forum Discussion

jsc's avatar
jsc
Regular Contributor
11 years ago

Rename name of log shown in TestComplete

Hi all,



Is there any way to manipulate (outside TestComplete) the name of the log file shown when I attach them to TestComplete?



The setup is like this

- Tests are run in TestExecute of some VM

- I attach them to my local TestComplete to analyze the results

- the name is like this: %TestSuiteName %Date %Time



As far as I know it currently is not possible to rename this through scripts in TestComplete.

Is there any way to manipulate this outside TestComplete (by changing strings/values in some (xml-)files or something similar)?

I know, that I manually can rename them in TestComplete, that is not what I need.



I'd like to have them named: %TestedVersion %NumberOfBugs %TestType (or something like that)



Best regards,

Joachim

2 Replies

  • jsc's avatar
    jsc
    Regular Contributor
    Hi Tanya.



    thank you, I did not find this when I checked!



    There are 2 entries in Description.tcLog that change the name of the log file:

    1) <Prp name="start time" type="D" value="41972.6141027083"/>

    2) <Prp name="root logdata name" type="S" value="Version: master.1244 (123 errors)"/>



    I already changed the second one but the first one cannot really be manipulated as far as I see. The float value is converted to a datetime value by TestComplete so the best I could do is clear the decimals. That results in just a date-value. At least this is shorter than date+time.



    Best regards,

    Joachim