setting filename of datasink throwing error
HI
i have soap ui pro at work
I have the this code that is throwing out an error. here is some partial code:
bla bla code.....
def generateStep = testCase.addTestStep("datasink", "test");
generateStep.setDataSink("Excel");
String errorCode = "test1";
String severityCode = "test2";
String shortDesc = "test3";
generateStep.setPropertyValue('errorCode', errorCode);
generateStep.setPropertyValue('severityCode', severityCode);
generateStep.setPropertyValue('shortDesc', shortDesc);
generateStep.setFileName('c:/test') Throwing error at this line..getting the error below :(
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:/test] Possible solutions: setName(java.lang.String), setName(java.lang.String) error at line: 42
how do i set the generateStep so i can use the .setFileName method?