Is it correct?......

Hi…

I’m new in Katalon, and I have problems trying to select a specific element.

This sentence is correct?

WebUI.click(findElement(By.src("//*[contains(text(),‘LT’)]"), false))

I appreciate the help.

Hi,
No.
click expect a TestObject parameter : WebUI.click(findTestObject('Page_Name/Object_Name'))
You can read the docs https://docs.katalon.com/katalon-studio/docs/introduction-to-web-testing.html#get-ready or use Web recorder to see the right syntax

2 Likes

A good video to help you build proper object locators; https://www.youtube.com/watch?v=3uktjWgKrtI

1 Like

Thanks a lot