Forum Discussion
Hi,
I don't receive that exception when using the ExcelDataSink class. Please try with Ready API 1.7.0 maintenance build if you are using a previous version of Ready API or SoapUI Pro.
https://support.smartbear.com/downloads/readyapi/nightly-builds/
Regards,
Marcus
SmartBear Support
- twozedz9 years agoOccasional Contributor
Hi Thanks for your reply
could you please try the following two lines of code and see if they work?
def te = context.getTestCase().getTestStepByName("dataSinkToSpreadSheet");
te.setFileName("C://tes");
I get the error:
groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSinkTestStep.setFileName() is applicable for argument types: (java.lang.String) values: [C://tes] Possible solutions: setName(java.lang.String), setName(java.lang.String) error at line: 22
- MarcusJ9 years agoModerator
Hi,
The WsdlDataSinkTestStep class does not have a setFileName method, that's why you get the MissingMethodException. Please look at the java doc below for the applicable methods for that class.
https://www.soapui.org/apidocs/pro/com/eviware/soapui/impl/wsdl/teststeps/WsdlDataSinkTestStep.html
Regards,
Marcus
SmartBear Support
- twozedz9 years agoOccasional Contributor
Hi I Understand that WsdlDataSinkTestStep doesnt have that method.
but i need to use the ExcelDataSink methods. Could you please let me know how i can use the ExcelDataSink Class? How do i define the object for that class and then use that its methods?
Related Content
- 10 years ago
Recent Discussions
- 15 years ago