Forum Discussion
Thanks for your suggestion.
I haven't specified anything to be included in the log, the iteration number seems to be the default behaviour.
Those log items are just a display of what happened.
https://support.smartbear.com/testcomplete/docs/testing-with/log/viewing/pages/log-items-panel.html
You can only write to the Project Log that's displayed on the right. This link will help with that:
https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/logging/message.html
- Andrew_898 years agoOccasional Contributor
Thanks for your input.
I know how to write to the project log, but unfortunately that is not sufficient in this case.
If there is no way to update the test item name, then I will have to rethink my approach to this problem.
- tristaanogre8 years agoEsteemed Contributor
A suggestion:
Rather than using the "Count" property on the test item, add a for loop to your test case to loop through the 10 times. Then use Log.AppendFolder and Log.PopFolder to build a tree structure in your test log to separate each time through the loop. Log.AppendFolder has a text string parameter that you can use to title the "folder" that it creates so your log will reflect the 10 loops.