Environment/Global variable substitution into xpath

LegacyForumLegacyForum Posts: 1,669 ✭✭
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

  • LegacyForumLegacyForum Posts: 1,669 ✭✭
    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]

Sign In or Register to comment.