Error on selecting an Element on page,

So im trying to select an object on the webpage (in a side panel) but Im getting the following error:
Reason:

groovy.lang.MissingMethodException: No signature of method: static com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click() is applicable for argument types: (com.kms.katalon.core.testobject.TestObject, java.lang.Integer) values: [TestObject - ‘Object Repository/Create Intent Page/IntentSelection-SidePanel/Page_Studio/Standard’, …]
Possible solutions: click(com.kms.katalon.core.testobject.TestObject), click(com.kms.katalon.core.testobject.TestObject, com.kms.katalon.core.model.FailureHandling), check(com.kms.katalon.core.testobject.TestObject), check(com.kms.katalon.core.testobject.TestObject, com.kms.katalon.core.model.FailureHandling), back(), wait()
at Test snippets.run(Test snippets:24)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1563463367616.run(TempTestCase1563463367616.groovy:21)

That’s your clue.

It appears from the error log you are trying to pass a TestObject followed by an Integer to the WebUI.click method. Remove the integer.

I can’t tell you where the error is, you didn’t post your code. In future, follow this advice:

1 Like

@Russ_Thomas
lately, i saw more and more people ignoring the pinned post, and always we have to re-post it.
so … perhaps you have to give it a better description?
e.g. ’ usualy the error is between chair and keyboard’. hopefuly with such descriptive name,new users will read it before posting …

It needs a title that works standalone in the forum listings.

When you need to create an alternative, use a link like this.

Hi, I tried the possible solution in the code:

WebUI.click(com.kms.katalon.core.testobject(‘Object Repository/Create Intent Page/IntentSelection-SidePanel/Page_Studio/Standard’))

This is displaying an error on running the script:
Reason:
groovy.lang.MissingPropertyException: No such property: com for class: Script1563554135852
at Create Intent1.run(Create Intent1:21)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:337)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:307)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:299)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:233)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:114)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:105)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1563785761406.run(TempTestCase1563785761406.groovy:21)