terminate remaining cucumber steps if the condition is met in the previous steps

Hello, if a condition is met with several if / else if statements, is there a way to “terminate the remaining cucumber test steps”? Thank you!

1 Like

Can you try with “Switch” as I think Switch logic can fit your case?

is it a general programming query or related to any specific katalon products