Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

How to use parameters in xpath in tru client script

$
0
0

I have a xpath to click on a object which is having a specfic text (for eg: //a[text()="Kumar Com1"]    )

I made "Kumar Com1" is coming from a parameter file in earlier step. (for eg: TC.getParam("AccontName")   )

Now I want to replace my xpath with parameter name. like //a[text()=TC.getParam("AccontName") ]    

here is the issue. it is not recognizing the object. some thing I am missing to give in xpath properly

Please advise

Kumar


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>