Test case fail, on a verify option command


#1

Hey guys,

I’ve started using this software, which I’m loving by the way. But I find it annoying when it displays as if the test case failed even when I don’t think it should.

So I’m verifying if there’s an option in a but if the option is not present then it throws a “failed”


(See the image)

I am wondering if there’s a way for katalon to not report “failed” when the option is not present, it’s just annoying not to see the report green.

Thanks in advance for any answer.

testcase.png


#2

See “Failure Handling”

https://docs.katalon.com/display/KD/Failure+handling


#3

It’s not failure handling, even If I put “continue on failure” it throws out that error, it’s not a problem with execution. Just a problem with the log displaying a error that isn’t really a error.


#4

So you just need to input ‘OPTIONAL’ here


#5

Yeah, that worked. Sorry I completely didn’t look at that option as the solution. My apologies and thank you for your help.