Katalon Community
How to fail a test if the condition is false?
Web Testing
katalon-studio
Marek_Melocik
July 9, 2019, 1:25pm
2
import com.kms.katalon.core.util.KeywordUtil ... KeywordUtil.markFailed("X is greater than Y")
show post in topic
Related topics
Topic
Replies
Views
Activity
Easy way to fail a test
Web Testing
katalon-studio
4
878
October 20, 2022
Katalon test step shows as passed when asserting a negative statement
Bug Report
katalon-studio
,
bugs-report
7
1993
December 10, 2021
When the test having if- else statement is executed and when the else part is executed , the test case shows failed status
Integrations
integrations
,
katalon-studio
1
1698
April 24, 2019
KeywordUtil.markFailed() shows Test case has Error but i expected it as 'failed'. How to mark Test Fail?
Web Testing
katalon-studio
0
664
June 17, 2020
Error Handling using If else
Miscellaneous
4
1057
July 5, 2022