Forum Discussion
pkunst
11 years agoContributor
nmrao wrote: Ok. Not sure if '//' in below xpath of yours causing any problem.
May you simply try the below:
Replace below linedef i = holder["count(//Envelope/Body/Response/Result//List/ChildElement)"]
with
def i = holder["count(//*:ElementOfList)"] //if there is namespaces involved
/*def i = holder["count(//ElementOfList)"] //if no namespace */
log.info "ElementOfList - node count ${i}"
Thank you.
def i = holder["count(//*:ElementOfList)"] //if there is namespaces involved
works fine.
Related Content
- 7 months agoḥari
- 2 years agoDesktopapptesti
- 2 months agoStoplight
Recent Discussions
- 6 days agoemoya