Set the test case as No Run / Incomplete from runtime?

Was trying to define the test cases execution status from script runtime,
ie. If condition A = true then TestStatus = “Incomplete”., don’t seems to found a way in handling this. Tried using: KeywordUtil.markWarning, however this will only set a test step as Warning status but the Test Case status is still returned as “Pass”.

Is there any “No Run” status in Katalon? Did not seems to find it in the Report. Please assist.


I would like to know if you found the solution for your problem and if so, could you tell me how to solve this problem ? I have the same issue where i am not able to set my TestStatus to “Incomplete” or “Not Run” or any other status that would end up Orange in report instead of Red.

Hi @sokolikm ,
sorry for my late response, was away from the tools for some time. one way that I can think of is to use the Skip test Case function. Eg.

def sampleBeforeTestCase(TestCaseContext testCaseContext) {
If (Xcondition==“TRUE”) {