'Check If Exists In Database' equivalent method in Katalon

Hello, is there a method equivalent to ‘Check If Exists In Database’ in Python RobotFramework?

In Katalon, I am able to add custom keywords and execute query, but then stuck here.

How is everyone forcing test case to pass or fail depending on sql resultset content ? How to mark test case as fail, if executeQuery doesn’t return an id value. The executeQuery or execute keyword always mark test case as pass even if there is no result for the sql query.

1 Like