Forum Discussion

wbrigham's avatar
wbrigham
Occasional Contributor
10 years ago
Solved

How to Create a Custom Log Message After an Object Checkpoint Fails.


When I perform a Checkpoint for an object's existence and the Checkpoint fails, how do I create a message using the Log Message feature that will display a more meaningful message (a message that I define) in test result test logs?



Currently, if an Object Checkpoint fails, I get a message in the test log that simply says the test run has stopped because the Stop on Error setting is enabled.



Thank you in advance for your time and assistance!!! :)


  • I would use If Then to simulate the checkpoint and put in my own messages.  See the attached example.



    We tend to avoid checkpoints because, at least for us, they seem to slow the tests down a lot.  

2 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3
    I would use If Then to simulate the checkpoint and put in my own messages.  See the attached example.



    We tend to avoid checkpoints because, at least for us, they seem to slow the tests down a lot.