Ask a Question

How to get part of xml from project properties

SOLVED
Happy
Contributor

How to get part of xml from project properties

I need to get part of xml, that located under project properties. 

XML located under Custom Properties, named Test

<test1>aaa</test1>

<test2>bbb</test2>

<test3>ccc</test3>

And from this xml I need to take only value bbb

 

 

 

2 REPLIES 2
nmrao
Community Hero

With the information above, it is difficult to understand the problem itself. Would please make it little more clear so that other can reproduce the problem first?


Regards,
Rao.
Happy
Contributor

def result= context.expand('${#Project#Test#//test2}').toString()

cancel
Showing results for 
Search instead for 
Did you mean: