Hi all,
I have a problem on MacOS with Katalon. I am using the below code in my project:
Runtime.getRuntime().load0(groovy.lang.GroovyClassLoader.class, com.kms.katalon.core.configuration.RunConfiguration.getProjectDir() + “\External\opencv_java349.dll”)
It work fine with Window but doesn’t work with MacOS. I searched for the solution on google and also changed .dll file to .so file:
Runtime.getRuntime().load0(groovy.lang.GroovyClassLoader.class, com.kms.katalon.core.configuration.RunConfiguration.getProjectDir() + “/External/cv2.cpython-38-darwin.so”)
But it still doesn’t work.
This is message error:
For .dll file:
For .so file:
If possible, can someone please provide an example. Thanks