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.
how to use datasource correlation virtualize
jimboy
Posts: 33 ✭
in Virtualize
I have got a soap request with element id value of AAA1xxxxxxxxx. I only need to match the first four characters to correlate with the datasource (excel sheet). I don't see it's possible doing that data Correlation request Body ( as this take the xpath element) and Datasource Column Name only. Is there a way around this.
0
Comments
-
Hi,
XPath supports a number of string functions that could help in this case. You will have to manually edit the XPath and then use perhaps the substring function to extract the first four characters.
Here is a link to a list of string functions in XPath
https://www.tutorialspoint.com/xpath/xpath_string_functions.htm0 -
got it. Thanks.
0 -
Glad I could help!
1