Submit and vote on feature ideas.

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
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in SOAtest
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]
Tagged:

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Hi,

    SOAtest 9.0 supports variables and data source column substitution in XPaths using the exact same syntax in your example

    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]

Tagged