# Unable to verify IF element present or not

**URL:** <https://forum.katalon.com/t/unable-to-verify-if-element-present-or-not/18504>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [January 29, 2019, 10:23pm UTC](https://forum.katalon.com/t/unable-to-verify-if-element-present-or-not/18504 "2019-01-29T22:23:15Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![grylion54](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/grylion54/32/16265_2.png) [@grylion54](https://forum.katalon.com/u/grylion54)\
**Post date:** [March 7, 2024, 10:46pm UTC](https://forum.katalon.com/t/unable-to-verify-if-element-present-or-not/18504/16 "2024-03-07T22:46:17Z")

</div>

If you are using Selenium, then a “NoSuchElementException” could throw a failure to your code. If you are using WebUI keywords, then the same “NoSuchElementException” will not be a failure, but a warning. That’s assuming you are running as FailureHandling.OPTIONAL either within your statement or as your default setting.  
Also, if you are running a Test Suite that has several Test Cases, then the “failure” of one Test Case does not stop the Test Suite from moving onto the next case.  
If you can give us more information what you are doing and even an error log, then we may be able to give you more information.

Edit: The below might be a good read as well.

> [@iframe could not be located in SAP Web UI](http://forum.katalon.com/t/iframe-could-not-be-located-in-sap-web-ui/123304/2):
>
> Perhaps your script is too fast for your browser, so you may have to wait for your browser to “catch up”. You will have to insert statements like: WebUI.waitForPageLoad(10) // when you move to a new page WebUI.waitForElementVisible(findTestObject(...), 10) WebUI.waitForElementClickable(findTestObject(...), 10) WebUI.waitForElementPresent(findTestObject(...), 10) in places where you are moving to new pages and where events are happening that elements “appear” that were not there before, a…

---

_[View the full topic](https://forum.katalon.com/t/unable-to-verify-if-element-present-or-not/18504)._
