Ask a Question

How to fail if check did not pass

SOLVED
olosunsira12
Occasional Contributor

How to fail if check did not pass

Hello!

 

How can I make the test case fail if a property check is not ok?

Is there any way of doing it?

 

I'm working with keyword tests since I do not have scripting skills.

 

Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
Marsha_R
Community Hero

Re: How to fail if check did not pass

If you are using Property Checkpoints, then it will automatically fail if your two items don't match.  This will be written to the log and the next line in the test will be executed.  Is that what you need or do you need the rest of the test to be skipped over?

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

1 REPLY 1
Marsha_R
Community Hero

Re: How to fail if check did not pass

If you are using Property Checkpoints, then it will automatically fail if your two items don't match.  This will be written to the log and the next line in the test will be executed.  Is that what you need or do you need the rest of the test to be skipped over?

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

cancel
Showing results for 
Search instead for 
Did you mean: