vladimiro
5 years agoNew Contributor
Property values in Xpath Assertions
Hi,
I have a XPath assertion like the following in SoapUI 5.6.
/count(
//*:BookItem
/*:RoomPlansBooked
/*:Room[@*:roomid=${#TestCase#roomid}]
)
but I do not manage to have the property value between quotes. I want it to resolve in something like this
/count(
//*:BookItem
/*:RoomPlansBooked
/*:Room[@*:roomid='my_room_id']
)
Any suggestions?
Best
Vladimiro
You should be able add single quotes around
Room[@*:roomid='${#TestCase#roomid}']
Please see the attached image.