I’m testing Angular application and I need to fetch data from a table/dropdown.
Is there a built in function similar to webdriver.findElements (Selenium) in Katalon? If not, how it can be achieved? Could you provide an example snippet?
below is the snippet of the html elements.
You can write Selenium code directly in Katalon.
Also you can use
List<WebElement> webElementList = WebUI.findWebElements(TestObject)
See the API doc WebUiBuiltinKeywords findWebElements(TestObject)
I believe it is a simple façade to driver.findElements(By.locator). This returns a List of WebDriver’s native WebElement.
driver.findElements(By.locator)
Thank you kazurayam. This works for me.