Ask a Question

How to fail if check did not pass

Occasional Contributor

How to fail if check did not pass



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.



Community Hero

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?

[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.
Showing results for 
Search instead for 
Did you mean: