Hi,
Is there any way to create Dynamic Filters in LIsa / Devtest. Where in the filter's xpath should change / filter should get created dynamically based on the input request received.
Example:
If i have a request like
<Employees>
<Employee>
<Name> ABC </Name>
<ID> 123 </ID>
</Employee>
<Employee>
<Name> XYZ </Name>
<ID> 789 </ID>
</Employee>
</Employees>
And the Employee Count may differ on each request. I want to store Name and ID for all the Employee's in the request.
Thanks,
Venkatesh.
Following Xpath expression used in Xpath filters should extract all the Names, IDs for the given sample
/Employees/Employee/Name/text()
/Employees/Employee/ID/text()
Following Xpath expression computes the Employee count
count(/Employees/Employee)
By providing appropriate property name, the corresponding value will be available for further processing.