Forum Discussion

prajakta2500's avatar
prajakta2500
Occasional Contributor
6 years ago
Solved

on "setPropertyValue" is showing following error. attached screenshot also

Below Error Showing:

groovy.lang.MissingMethodException: No signature of method: com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.setPropertyValue() is applicable for argument types: (java.lang.String, java.lang.Integer) values: [TransactionID, 557812] Possible solutions: setPropertyValue(java.lang.String, java.lang.String), getPropertyValue(java.lang.String) error at line: 20

Please refer screenshot for more details.

  • You posted two completely different errors.

     

    To fix the one in the body of your post, you need to put toString() after the variable with value 557812 in the call to setPropertyValue.

     

    To fix the one in the screenshot, you are going straight from testRunner to testCases, but should be using testRunner.testCase.TestSuite.testCases the same as you are doing above the break.

1 Reply

  • JHunt's avatar
    JHunt
    Community Hero

    You posted two completely different errors.

     

    To fix the one in the body of your post, you need to put toString() after the variable with value 557812 in the call to setPropertyValue.

     

    To fix the one in the screenshot, you are going straight from testRunner to testCases, but should be using testRunner.testCase.TestSuite.testCases the same as you are doing above the break.