HI team,
we have a created a customized keyword for data entering into the application.
that was working fine in previous version, but now when executing the same piece of code we are getting the below error message :
“Caused by: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object ‘com.kms.katalon.core.webui.driver.SmartWaitWebDriver@43d65a81’ with class ‘com.kms.katalon.core.webui.driver.SmartWaitWebDriver’ to class 'org.openqa.selenium.remote.RemoteWebDriver’strong text”
can you please help in getting the same resolved.
code snippet :
custPackage.DynamicData.setText(findTestObject(“XXXX”), FirstName)
custom package code :
def setText(TestObject to, String text) {
logic for setting text with respect to the application browsers.
}