Pass/Fail to results

Hi,

What is the best way to report a status to Katalon results?

if (something == exp_something) {
println(“PASS”) // send PASS status to results w/ description message
} else {
println(“FAIL”) // send FAIL status to results w/ description message
}

Thanks!

You can refer this guide: https://docs.katalon.com/katalon-studio/docs/mark-tests-status-for-a-custom-keyword.html

thanks Vinh_Nguyen!