How can I pass xpath as parameter in my custom Keyword method.
Details:
I have created a custom Keyword and calling it in my Test case.
I want to pass TestObjects and Data file as Parameters to that custom keyword from Test case. But it is failing for me.
I am facing below error, any leads would be helpful:
org.codehaus.groovy.runtime.metaclass.MissingMethodExceptionNoStack: No signature of method: testMethods.MemberSearch.employerSearchInputFormResultList() is applicable for argument types: (org.openqa.selenium.remote.RemoteWebElement, com.kms.katalon.core.testdata.DBData) values: [[[CChromeDriver: chrome on XP (f14497893cb1c4ac1289eb27eacff951)] → xpath: //form[@id=‘employerSearchform’]//table], …]
Possible solutions: employerSearchInputFormResultList(com.kms.katalon.core.testobject.TestObject, com.kms.katalon.core.testdata.TestData)