Skip to Content
Technical Articles

Loadrunner TruClient Automation – Parameterization

Hello,

To Parameterize Username and Password in Truclient Script in LR 12.5 or 12.53 using built-in Javascript Functionality and then create a username and password .dat file using the traditional parameterization technique in LR

LR.getParam(“username”)

LR.getParam(“password”)

If you need you could also use “Evaluate in JavaScript” built in library function to validate

NOTE – Please ensure you are in “Develop Script mode” in order to code , the truclient by itself only loads in readme mode

TC_Parameter.jpg

tC_Parameter2.jpg

For URL you can replace it with a parameter

tC_Parameter3.jpg

To handle this exception as shown below , please check .dat file for the matching names

 

Thanks

Dilip

1 Comment
You must be Logged on to comment or reply to a post.