Forum Discussion

hannecroonen's avatar
hannecroonen
Contributor
3 years ago

Click() comment

Hi all,

 

I had a question concerning the Click() method in Testcomplete.

Everytime I click an item it shows in the test details.

BUT it does not say exactly what it clicked. To make my test more clear I would love to be able to add a comment to every click I make so I can quickly see what it is that happened. 

Right now I solve this by just clicking something using 'Click()' and after that line log a message using 'Log.Message' saying what was clicked but it would be easier if it could be done at once. 

Is there some kind of solution for this kind of thing or not?

 

Something in the line of what happens when logging pictures 'Log.Picture(PicObj,"message").

 

Thanks!

4 Replies