Forum Discussion
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
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?
- MarcusJ9 years agoModerator
Hi,
Please open a support case for this if you are still having this issue in so we can further investigate.
https://support.smartbear.com/message/?prod=ReadyAPI
Regards,
Marcus
SmartBear Support
Related Content
- 5 years ago