Skip to Content
Technical Articles
Author's profile photo Dilip Mamidela

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

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Dilip Mamidela
      Dilip Mamidela
      Blog Post Author

      Please refer to this link below once you have completed the step of parameterization in truclient

      http://scn.sap.com/docs/DOC-73576


      Thanks Dilip