Forum Discussion

kyosky's avatar
kyosky
Occasional Contributor
14 years ago

how to use ItcLogmessage via test complete com

hi all,



our company still use test complete 7.5.



recently we need to use C# to call test complete via COM, about the test log, how to use ItcLogmessage interface?



thanks,

michael

  • Hi Michael,





    This interface is not documented, what do you want to use it for? If it is some standard task, consider taking a look at the "Working With TestComplete via COM - Overview" help topic, as well as the TestComplete 7 SDK help system that comes with the SDK package.
  • kyosky's avatar
    kyosky
    Occasional Contributor
    Hi Alex,



    thanks for your email, Now i working with test execute via com, i just want create folder node in test log via com by c#.



    but i didn't find the way to do that.



    thanks,

    michael




  • Hello Michael,





    First of all, please note that you can work with the Test Log only when a test is running.





    To work with the "Log" runtime object, you need to get a reference to this object first.





    This can be done either by using the Log field of the Connect class provided by the Connected Applications modules, or you can use the GetObjectByName method of the Integration object: TCObj.Integration.GetObjectByName("Log")





    The links are to the TestComplete 8 Help system, so there may be differences - check the same topics in your local copy of TestComplete 7 Help system.





    I hope this helps!