How to identify iframe objects in List

My testcase is unable to identify iframe results grid object in a List
EG: ListRes=WebUiCommonHelper.findWebElements(findTestObject(‘ResultsGrid’), 1)
However it is able to recognize outside the List.
Due the issue I am unable to compare results in Application vs DB

can you try of any of below option works here
(Handling iFrame issue with Katalon Studio | Katalon Docs)

Do you move to your <iframe> before you use it, like:

TestObject tObj = new TestObject('id("contentFrame")')
tObj.addProperty("xpath", ConditionType.EQUALS, 'id("contentFrame")')
WebUI.switchToFrame(tObj, 10)

List<WebElement> ListRes = WebUiCommonHelper.findWebElements(findTestObject('ResultsGrid'), 1)

P.S. Just a note that you can alias the term WebUiCommonHelper like

import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.webui.keyword.WebUiCommonHelper as WebHelper

then, you only need to use your new shorter phrase, like

List<WebElement> ListRes = WebHelper.findWebElements(findTestObject('ResultsGrid'), 1)

Hi there @prabhag, :wave:

Thank you for being a part of Katalon Community!

From time to time, other members may offer to support you directly via Skype or Zoom, and we would like to let you know that if you accept such offers, you will be doing so at your own risk.

This is because we cannot guarantee the quality, accuracy, or reliability of the “support” that you receive from such members. Plus, when you detail your questions on our forum, you not only going to get support from other members, but also our team as well, and we can validate each other’s advice/suggestions until we reach one that resolvea your issue.

Therefore, always use caution and common sense when dealing with them, and remember to report any scam or suspicious activity to us immediately by sending a message to @team.

Thanks and happy testing! :sunglasses:

Thank you for your solution. Yes, it is working fine when I switch to frame before List.
My issue is resolved.