You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If i want to pass a DataTable as a parameter to the step definition it fails due to a
ClassCastException: DataTable cannot be cast to String
in JythonBackend.java in the execute method there is a cast for the argument
....
pyArgs[i + 1] = new PyString((String) args[i]);
....
I understand why it's needed since you just execute the python code from a string using exec so passing an object as argument will never work. But it would be nice to have the DataTables in Jython too or a better error message :)
The text was updated successfully, but these errors were encountered:
If i want to pass a DataTable as a parameter to the step definition it fails due to a
ClassCastException: DataTable cannot be cast to String
in JythonBackend.java in the execute method there is a cast for the argument
....
pyArgs[i + 1] = new PyString((String) args[i]);
....
I understand why it's needed since you just execute the python code from a string using exec so passing an object as argument will never work. But it would be nice to have the DataTables in Jython too or a better error message :)
The text was updated successfully, but these errors were encountered: