Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
Custom XPath for Data Source Correlation
jefftuckerbofa
Posts: 234 ✭
in Virtualize
Is there any way to set up custom correlation for the data source? Specifically, what I was interested in doing is checking to see if value in the "Data Source Column Name" field "contained" the value extracted from the request object. Something like:
request:
Cars
data source column name value:
Trucks|Cars|Bikes|Skates
Does "Trucks|Cars|Bikes|Skates" contain "Cars"
0
Comments
-
Hi,
It sounds like you could use a criteria expression, in the data source you would setup a row with a matching pattern that would accept any of those values. See the section about String pattern matching and Compound Expressions.
0