Forum Discussion

Nasturshia's avatar
Nasturshia
Occasional Contributor
5 years ago

Cannot convert string to a double

Using Soapui v 5.4.0 and A script assertion which has numerous def and assert statements in it.

A def statement produces the error shown in the subject of the post what does this mean?

Def Count01 = Cdataxmlholder [“count((//*[local-name() = ‘list01’] /*[local-name () = list02 and . = + expectedlist + “])”]

The expected list variable is defined at the start if the assertion script.

Please advise thank you