Ask a Question

Add a log statement on checkpoint fail

SOLVED
BallerSanta2
Occasional Contributor

Add a log statement on checkpoint fail

Was just wondering if it is possible to have a specific log message appear, but only on the failure of a property checkpoint, I did find the way to have a specific one appear every time, but not just on a failure. Any help is appreciated!

 

Regards,

 

Mason

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: Add a log statement on checkpoint fail

Look at Property Checkpoint Alternatives in here

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/property/about.html

 

You can use the If Then Else to set up the same comparison and then put in your own log messages for each case.


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

View solution in original post

4 REPLIES 4
Marsha_R
Community Hero

Re: Add a log statement on checkpoint fail

Are you using keyword tests or scripting?


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
BallerSanta2
Occasional Contributor

Re: Add a log statement on checkpoint fail

Keyword testing, apologies for not specifying

Marsha_R
Community Hero

Re: Add a log statement on checkpoint fail

Look at Property Checkpoint Alternatives in here

https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/property/about.html

 

You can use the If Then Else to set up the same comparison and then put in your own log messages for each case.


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

View solution in original post

BallerSanta2
Occasional Contributor

Re: Add a log statement on checkpoint fail

The if then else statements worked wonders, thankyou for the assist, have a great day!

 

cancel
Showing results for 
Search instead for 
Did you mean: