verifyElementVisible return an error

Hello,
I use the expression “verifyElementVisible” to check if element is visible or not, but Katalon returns a response error when the element is not visible. Can you show me how to get only true or false as defined in Katalon docs.
The expected is : true/ false.
See Below :

There’s a typo in your failure handling argument. It should look like this:

def visible = WebUI.verifyElementVisible(findTestObject('path/to/object'), FailureHandling.CONTINUE_ON_FAILURE)

Have you had a chance to try this? Has it solved your issue?

Hello,
Thanks for your feedback, but i get an error too with this instruction :

2020-01-16 09:34:58.926 DEBUG testcase.Vp_Contrôle Chantier - 2: visible = verifyElementVisible(findTestObject(“Object Repository/FRED_Programme/FredWeb/01.Pointage/Page_FayatFRED/Pointage/Valider Lot de Pointage/01.Rb Contrôle Chantier”), CONTINUE_ON_FAILURE)

2020-01-16 09:34:59.828 ERROR c.k.k.core.keyword.internal.KeywordMain - :x: Object ‘Object Repository/FRED_Programme/FredWeb/01.Pointage/Page_FayatFRED/Pointage/Valider Lot de Pointage/01.Rb Contrôle Chantier’ is NOT visible (Root cause: com.kms.katalon.core.exception.StepFailedException: Object ‘Object Repository/FRED_Programme/FredWeb/01.Pointage/Page_FayatFRED/Pointage/Valider Lot de Pointage/01.Rb Contrôle Chantier’ is NOT visible

Alright in that case try the following failure handling argument instead:

FailureHandling.OPTIONAL

This should log a warning when the element is not visible, but the script should continue.