Solved
Forum Discussion
nmrao
Champion Level 3
Santosh_P,
Check below script:
https://github.com/nmrao/groovyScripts/blob/master/xml/CheckIfElementExists.groovy
Also you can try online demo
https://ideone.com/v1mrZ1
Check below script:
https://github.com/nmrao/groovyScripts/blob/master/xml/CheckIfElementExists.groovy
Also you can try online demo
https://ideone.com/v1mrZ1
Santhosh_P
7 years agoContributor
Thanks nmrao and PaulMS for the solution. I am in a different timezone which is why there is a delay in the reply.