MOTOROLA_Suppor_1
15 years agoContributor
Xquery Reference testcase properties?
I just wonder if I could access testcase property '${#TestCase#PropertyName}' when performing XQuery Assertion ?
In XQuery Expression editor, i want to have somthing like. But I got an error. Is there a way to do it? thanks
sheena
===== Example of XQuery Expression==========
declare namespace ns2='http://asp.motorola.com/nbs/config/v1-0';
let $cur_length := count( //ns2:getManagedElementsResponse/attrContainerList/strAttribute)
where $cur_length < ${#TestCase#FullAttrLength}
return <Result>true</Result>
In XQuery Expression editor, i want to have somthing like. But I got an error. Is there a way to do it? thanks
sheena
===== Example of XQuery Expression==========
declare namespace ns2='http://asp.motorola.com/nbs/config/v1-0';
let $cur_length := count( //ns2:getManagedElementsResponse/attrContainerList/strAttribute)
where $cur_length < ${#TestCase#FullAttrLength}
return <Result>true</Result>