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.
Environment/Global variable substitution into xpath
LegacyForum
Posts: 1,664 ✭✭
I have an environmental variable. How can i submit in xpath of an element.
For example :
Actual xpath is: //tr[td = 1000]/descendant::a[position()=1]
Need something like: //tr[td =${CID}]/descendant::a[position()=1]
For example :
Actual xpath is: //tr[td = 1000]/descendant::a[position()=1]
Need something like: //tr[td =${CID}]/descendant::a[position()=1]
Tagged:
0
Comments
-
Hi,
SOAtest 9.0 supports variables and data source column substitution in XPaths using the exact same syntax in your exampleI have an environmental variable. How can i submit in xpath of an element.
For example :
Actual xpath is: //tr[td = 1000]/descendant::a[position()=1]
Need something like: //tr[td =${CID}]/descendant::a[position()=1]0