Forum Discussion

dave_ganter's avatar
dave_ganter
Occasional Contributor
12 years ago

Object Checkpoint detail written to Log - can it be expanded?



Can the Object Checkpoint be made to write the same detail to the log that a Property Checkpoint does?

= = = = = = = = = = = = = = =



Seven separate Property Checkpoints produce log output as follows

The property checkpoint passed(the WndCaption equals "Date of Birth").

The property checkpoint passed(the Text equals "MM:").

The property checkpoint passed(the wText equals "05").

The property checkpoint passed(the Text equals "DD:").

The property checkpoint passed(the wText equals "05").

The property checkpoint passed(the Text equals "YYYY:").

The property checkpoint passed(the Text equals "1989").



The Object Checkpoint that checks the three or four default properties for the same object with its six child objects produces log output as follows.

The object checkpoint "fraChildDOB1" passed



I would like the log to reflect what properties and values got checked - the same as for the property checkpoint.  Is that possible?


  • dave_ganter's avatar
    dave_ganter
    Occasional Contributor
    I looked at OnLogCheckpoint event handler.    The instructions tell how to substitute my wording for TestComplete’s wording for the log message and for the ‘Additional Information’ message for a simple one-line message.   However, the complexity of what is needed to assemble the multiple message lines for the many checks that an object checkpoint does is beyond me.  So it is back to my original inquiry in my first post.   Thank you for the suggestion.
  • dave_ganter's avatar
    dave_ganter
    Occasional Contributor
    My interest in this topic is still alive even if there have been no further suggestions in forum posts.  



    The situation is that I am going into the Stores folder, into the Objects folder within Stores, and using the Stores editor to delete some of the child objects to be checked.  I want the further detail in the Log so that I know if I got it right - whether I deleted too much.



    My reason for deleting some child objects is that they are TAB objects that bring up other screens. There are multiple TAB child objects on the screen I’m checking and they cause TestComplete to check multiple screens that are not shown, are not part of what I’m testing, and cause failures.



     I’ll wait to see if there are any posts that help and, if not, turn this in as a support request.