Hi,
Individual nodes cannot be shown for tests that are called from other tests in the log tree. However, you can append messages posted by each test to an individual folder within the test log, thus forming the needed log structure. For example, you have three functions that are called from the Main function. For each function, you can create a folder in the test log, and TestComplete will add the messages posted by this function to this folder. The following code demonstrates the way you can do this:
Sub Main()
Test1
Test2
Test3
End Sub
Sub Test1()
Log.AppendFolder("Test1")
Log.Message "my test 1"
Log.PopLogFolder
End Sub
Sub Test2()
Log.AppendFolder("Test2")
Log.Message "my test 2"
Log.PopLogFolder
End Sub
Sub Test3()
Log.AppendFolder("Test3")
Log.Message "my test 3"
Log.PopLogFolder
End Sub
The attached image shows the generated log structure.
For more information on using folders in the test log, please read http://smartbear.com/support/viewarticle/12264/ in the online documentation.
Also, I recommend that you read the Teamwork online article.