I use Katalon Studio for my test automation. It comes with an in-built script editor ().

So, I can use Groovy’s that gives me a nice and detailed output when the assert fails.

However, some other non-technical (or less-technical) staff would like to run tests themselves. And their problem is they are unable to correctly interpret the fail message.

I know I can use assert expression1 : expression2 for printing the message, but I really prefer the power assert output.

Is there a way to have both custom message and power assert message?

Source link https://sqa.stackexchange.com/questions/34217/can-i-keep-the-groovy-power-assert-and-still-have-a-custom-message-


Please enter your comment!
Please enter your name here