Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: [Truclient] How to parameterize an Object Name/Path?

$
0
0

Hi,

 

The issue with your function could be that it contains a character, written using keyboard language different from English. I made some checks in Notepad++ using different encoding and with one got:

 

evalXPath("//td[text()=\""+ArgsContext.LR.getParam​("myParam")+"\"]");

 

For example the following code

 

var myGlobalVar=LR.getParam(“myParam")

 

will also produce

 

Evaluate JavaScript code var myGlobalVar=LR.getPa...t(myGlobalVar); ** failed - exception occurred: SyntaxError: illegal character

 

because in (myParam")   is not written using English keyboard.

 

Kind regards,
Vesela


Viewing all articles
Browse latest Browse all 12134

Trending Articles



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