SiKing wrote: |
---|
For empty elements you can use something like empty(//booksNotRefunded) |
I think that I have to write this in "Declare"....
I supose in "Expected Result" I have to write "true"????
In this case it works, but if I retry only this step, my xml changes to:
<Response xmlns="http:..................">
<booksNotRefunded>
<e>9788468711157</e>
</booksNotRefunded>
<booksRefunded/>
<email>xxxxxx@xxxxxx.xxx</email>
</Response>Then, with
empty(//booksNotRefunded) the assertion is ok in soapui, but it's not ok, because "booksNotRefunded" has a node ("<e>")