Ask a Question

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

SOLVED
wbrigham
Occasional Contributor

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!!! 🙂


Sincerely,
 
William Brigham
Software Test Specialist
Justice Systems, Inc.
www.justicesystems.com
2 REPLIES 2
Marsha_R
Community Hero

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.  

Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
wbrigham
Occasional Contributor

That worked perfectly!  Thank you!!
Sincerely,
 
William Brigham
Software Test Specialist
Justice Systems, Inc.
www.justicesystems.com
cancel
Showing results for 
Search instead for 
Did you mean: