CheckProperty and the text in the log
CheckProperty(tbl, "RowCount", cmpGreaterOrEqual, 1); yields the text
"The property checkpoint passed: RowCount is greater than or equal to 1."
I would like to change this text and leave the additional info
Result
The property checkpoint passed: Aliases.browser.pageMain...entDetail.tblActivities.RowCount is greater than or equal to 1.
...
As is. I would like the line in the log to match manual tester speak as they will compare the results to a test case. I think this can be done, but I am not remembering how. I like the simple CheckPropeerty code line... I would like a solutiont hat I can use across many checkpoints in my solution without writing if conditions for my in code checkpoints.
Thanks
There is an OnLogCheckpoint event handler available in TestComplete. Basically, when you log the checkpoint, it fires that event. You can then assign code to the event to execute each time the event fires. Within that code, you can intercept the text of the message and change it before writing it out to the log.
Because it's an event intercepting the writing of a record to the log, it only has available to it whatever is in the process of writing that log record. String processing is your best bet.