Hi Ole,
My Response is :
2765
Soulja Boy ------ Artist Name
Gucci Bandana
/swrv/Images/GameImages/BB_SouljaBoy_02.png ---ArtistName
1103
WebUser
As you see above, in the Name element I have value 'Soulja Boy' and in URL i have 'SouljaBoy'
I want to check Name 'Soulja Boy' is part of URL.
My Xpath expression:
declare namespace aetgt='
http://musicchoice.com/services/games';matches( //aetgt:GetGameMetaDataResponse[1]/aetgt:GetGameMetaDataResult[1]/aetgt:Contestants[1]/aetgt:Contestant[1]/aetgt:MetaData[1]/aetgt:EntrantInfo[1]/aetgt:Url[1]/text(), 'Soulja' )
This works.
I have 100 nodes of such type. So I want to get Name and split it and then join it and then assert that against URL.
I actually want to use groovy scipt for this...i dont know groovy..