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

using parameters in strings in TC 12.53

$
0
0

Is there a full tutorial that SHOWS TruClient gui syntax examples!? This protocol is most frustrating to use if you are an old LR code dog. I am well versed in LR parameters and usage in a variety of protocols but can't figure out this basic usage in 12.53: logically I want to LOG the value of the {password} parameter, as in:

password: bean

I have create a single (custom) parameter in the vuGen Parameter List:  password, and assigned it a single value: bean:

param.jpg

But the following GUI step fails (and I have tried several variations that all also fail); by fail I mean the step executes but it logs the string literal  TC.getParam("password") rather than logging the value of the password parm (bean):

TC.log.jpg

What is the correct method AND syntax to do this? Also, how then do I concatenate the prefix string "password: " to the value? (I thought it should be "password: " + TC.getParam("password") but I am just not catching the notion of this protocol's syntax and it features, thats for sure).

-Thanks, Terry Horwath

 

 


Viewing all articles
Browse latest Browse all 3978

Trending Articles