Forum Discussion
HimanshuTayal
7 years agoCommunity Hero
Hi yu,
Yes you can achieve this
Step 1. Get the count of Arrays in your response within {}, store this count in some variable
${TestCaseStep#ResponseAsXml#count(//*:ContectID)}
Step 2. Pass that count to your index within $..ContactID["Count which you get from step 1"].
Click "Accept as Solution" if my answer has helped, and remember to give "kudos" :)
Thanks and Regards,
Himanshu Tayal