Katalon Version (6.3.0) - Data Binding through script variable not working and giving Cannot cast String to TestData error for scripts working fine in version 6.2.2

staff-19

#1

Hi,
While trying to bind data to test suite through data binding —script variable as shown in image below, getting this error
Reason:
org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object ‘findTestData(“Admin/Security/adminUser”)’ with class ‘java.lang.String’ to class ‘com.kms.katalon.core.testdata.TestData’.


image

Scripts were working fine with previous version of Katalon(6.2.2), but started breaking with newer version( 6.3.0).


#2

Hi @drai

Can you try to use the latest version 6.3.1 to see if the problem is resolved ?

Thanks !


#3

Yes updated to newer version 6.3.1, problem still exists.


#4

Thanks Katalon team, This issues is fixed in 6.3.2 Release. Data binding is now getting correctly mapped as Test data when selected from script variable. Great Job!


#5

Hi @drai,

If you downloaded the pre-release version, please download the official v6.3.2 on our website to make sure everything is fine.

The release version is 6.3.2-78cabfb34

Capture

Thanks


#6

Hi
I am still Facing this issue on v6.3.2
Kindly Help