Issue with WebUI.waitForElementVisible() and WebUI.waitForElementNotPresent()

I am not sure how you are using the Keyword waitForElementPresent and waitforElementNotPreset, if you are using to check the if-else logic or loop then it doesn’t work . Please refer the link
Don’t use VerifyElementPresent keyword to test if–else or looping logic - Tips and Tricks - Katalon Community