@Ibus Thanks, I also do not use the WebUI API, so I was not aware of this. The verifyElement__() and waitForElement__() methods have been a point of contention for a while. I even posted on it way back in the day:
@sarah.kladstrup In that case, if you indeed want the test to stop on failure, a simple approach would be to just assert the result of the verifyElementPresent() call, which I believe returns a boolean value:
assert WebUI.verifyElementPresent(findTestObject('path/to/my/object'), 10)
Or to join the rest of us, and implement your own framework